From 35a843f8b6bd8fa9077bc7bbf3c1baf87c1bd38d Mon Sep 17 00:00:00 2001 From: Daniel Chabrowski Date: Sun, 25 Feb 2018 12:24:21 +0100 Subject: [PATCH] modernize-return-braced-init-list --- include/spdlog/sinks/file_sinks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/sinks/file_sinks.h b/include/spdlog/sinks/file_sinks.h index 6794bdaf..f124117d 100644 --- a/include/spdlog/sinks/file_sinks.h +++ b/include/spdlog/sinks/file_sinks.h @@ -238,7 +238,7 @@ private: if (rotation_time > now) { return rotation_time; } - return std::chrono::system_clock::time_point(rotation_time + std::chrono::hours(24)); + return{ rotation_time + std::chrono::hours(24) }; } filename_t _base_filename;