summaryrefslogtreecommitdiffstats
path: root/raul/log.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'raul/log.hpp')
-rw-r--r--raul/log.hpp5
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;
}
};