diff options
Diffstat (limited to 'src/common/utils.cpp')
-rw-r--r-- | src/common/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/utils.cpp b/src/common/utils.cpp index 49dce34..e3867eb 100644 --- a/src/common/utils.cpp +++ b/src/common/utils.cpp @@ -125,7 +125,7 @@ bool split_key_value(const std::string& line, std::string *w1, std::string *w2) static_assert(sizeof(timestamp_seconds_buffer) == 20, "seconds buffer"); static_assert(sizeof(timestamp_milliseconds_buffer) == 24, "millis buffer"); -void stamp_time(timestamp_seconds_buffer& out, TimeT *t) +void stamp_time(timestamp_seconds_buffer& out, const TimeT *t) { struct tm when = t ? *t : TimeT::now(); strftime(out, 20, "%Y-%m-%d %H:%M:%S", &when); |