diff options
Diffstat (limited to 'raul/log.hpp')
-rw-r--r-- | raul/log.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/raul/log.hpp b/raul/log.hpp index 4dbf069..dbbe345 100644 --- a/raul/log.hpp +++ b/raul/log.hpp @@ -90,9 +90,10 @@ protected: class Log : public std::ostream { public: - Log(std::streambuf* buf) : std::ostream(buf) {} + explicit Log(std::streambuf* buf) : std::ostream(buf) {} template<typename T> Log& operator()(const T& o) { - *this << o; return *this; + *this << o; + return *this; } }; |