Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Commit

Permalink
Use direct-initialization instead of copy.
Browse files Browse the repository at this point in the history
  • Loading branch information
kami- committed Oct 27, 2017
1 parent 877d395 commit 20c47a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace log {

namespace {
const std::string LOGGER_NAME = "r3_extension_log";
std::atomic<bool> initialized = false;
std::atomic<bool> initialized(false);
}

std::shared_ptr<spdlog::logger> logger;
Expand Down

0 comments on commit 20c47a8

Please sign in to comment.