Merge pull request #2056 from mguludag/patch-1

Fixed qt_sinks ctor
This commit is contained in:
Gabi Melman 2021-08-17 19:24:58 +03:00 committed by GitHub
commit 58e7f68004
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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