From 8ece2e1884bfa7c7509a8b5f98b19a9a8c025149 Mon Sep 17 00:00:00 2001 From: lisyarus Date: Wed, 23 Sep 2020 13:15:18 +0300 Subject: [PATCH] Fix log behavior for templated output operators --- libs/log/include/psemek/log/log.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/log/include/psemek/log/log.hpp b/libs/log/include/psemek/log/log.hpp index 562cf3c4..1382481a 100644 --- a/libs/log/include/psemek/log/log.hpp +++ b/libs/log/include/psemek/log/log.hpp @@ -30,7 +30,7 @@ namespace psemek::log template log_stream & operator << (T const & x) { - os_ << x; + static_cast(os_) << x; return *this; }