From 24e47efae0dbe8c61f65c5d4140f305bc47ac340 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Tue, 16 Nov 2021 22:48:02 +0200 Subject: [PATCH] fix gcc 4.8 compile warning --- include/spdlog/common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/spdlog/common.h b/include/spdlog/common.h index 40bac3e6..7987b085 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -308,6 +308,7 @@ struct file_event_handlers std::function after_open; std::function before_close; std::function after_close; + file_event_handlers() : before_open{nullptr}, after_open{nullptr}, before_close{nullptr}, after_close{nullptr} {} }; namespace details {