Fixed qt_sinks ctor

Removed default args #2055
This commit is contained in:
Muhammed Galib Uludag 2021-08-17 18:58:34 +03:00 committed by GitHub
parent c2550ac24a
commit e185926beb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ namespace spdlog {
namespace sinks { namespace sinks {
template <typename Mutex> class qt_sink : public base_sink<Mutex> { template <typename Mutex> class qt_sink : public base_sink<Mutex> {
public: 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; qt_object_ = qt_object;
meta_method_ = meta_method; meta_method_ = meta_method;
} }