From e185926bebf37735ad8b707f26325f29478c4095 Mon Sep 17 00:00:00 2001 From: Muhammed Galib Uludag Date: Tue, 17 Aug 2021 18:58:34 +0300 Subject: [PATCH] Fixed qt_sinks ctor Removed default args #2055 --- include/spdlog/sinks/qt_sinks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/sinks/qt_sinks.h b/include/spdlog/sinks/qt_sinks.h index 25b2aae9..99545665 100644 --- a/include/spdlog/sinks/qt_sinks.h +++ b/include/spdlog/sinks/qt_sinks.h @@ -23,7 +23,7 @@ namespace spdlog { namespace sinks { template class qt_sink : public base_sink { public: - qt_sink(QObject *qt_object = nullptr, const std::string &meta_method = "") { + qt_sink(QObject *qt_object, const std::string &meta_method) { qt_object_ = qt_object; meta_method_ = meta_method; }