Merge pull request #2056 from mguludag/patch-1

Fixed qt_sinks ctor
pull/2057/head
Gabi Melman 4 years ago committed by GitHub
commit 58e7f68004
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;
} }

Loading…
Cancel
Save