summaryrefslogtreecommitdiff
path: root/http/logging.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'http/logging.hpp')
-rw-r--r--http/logging.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/http/logging.hpp b/http/logging.hpp
index 6543b7306e..ed0c7f7c0b 100644
--- a/http/logging.hpp
+++ b/http/logging.hpp
@@ -65,8 +65,8 @@ class Logger
gmtime_r(&t, &myTm);
- size_t sz =
- strftime(date.data(), date.size(), "%Y-%m-%d %H:%M:%S", &myTm);
+ size_t sz = strftime(date.data(), date.size(), "%Y-%m-%d %H:%M:%S",
+ &myTm);
date.resize(sz);
return date;
}
@@ -93,7 +93,7 @@ class Logger
//
template <typename T>
- Logger& operator<<([[maybe_unused]] T const& value)
+ Logger& operator<<([[maybe_unused]] const T& value)
{
// Somewhere in the code we're implicitly casting an array to a
// pointer in logging code. It's non-trivial to find,