Fix log behavior for templated output operators
This commit is contained in:
parent
5830977e45
commit
8ece2e1884
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ namespace psemek::log
|
||||||
template <typename T>
|
template <typename T>
|
||||||
log_stream & operator << (T const & x)
|
log_stream & operator << (T const & x)
|
||||||
{
|
{
|
||||||
os_ << x;
|
static_cast<std::ostream &>(os_) << x;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue