Update stdout_sinks.h

pull/690/head
Bousk 8 years ago committed by GitHub
parent 5ae3947f9b
commit 13c77a6695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,9 +23,9 @@ class stdout_sink SPDLOG_FINAL : public base_sink<Mutex>
public:
explicit stdout_sink() = default;
static std::shared_ptr<MyType> instance()
static shared_ptr<MyType> instance()
{
static std::shared_ptr<MyType> instance = std::make_shared<MyType>();
static shared_ptr<MyType> instance = make_shared<MyType>();
return instance;
}
@ -53,9 +53,9 @@ class stderr_sink SPDLOG_FINAL : public base_sink<Mutex>
public:
explicit stderr_sink() = default;
static std::shared_ptr<MyType> instance()
static shared_ptr<MyType> instance()
{
static std::shared_ptr<MyType> instance = std::make_shared<MyType>();
static shared_ptr<MyType> instance = make_shared<MyType>();
return instance;
}

Loading…
Cancel
Save