modernize-use-using

This commit is contained in:
Daniel Chabrowski
2018-02-24 22:35:09 +01:00
parent abc0d43995
commit 7f4c1bb77c
12 changed files with 42 additions and 36 deletions

View File

@@ -216,10 +216,12 @@ private:
std::chrono::milliseconds _flush_interval_ms;
std::function<void()> _worker_teardown_cb = nullptr;
};
#ifdef SPDLOG_NO_REGISTRY_MUTEX
typedef registry_t<spdlog::details::null_mutex> registry;
using registry = registry_t<spdlog::details::null_mutex>;
#else
typedef registry_t<std::mutex> registry;
using registry = registry_t<std::mutex>;
#endif
}
}