diff --git a/include/spdlog/sinks/qt_sinks.h b/include/spdlog/sinks/qt_sinks.h index 25b2aae96..99545665a 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; }