aboutsummaryrefslogtreecommitdiff
path: root/include/spdlog/details/console_globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/spdlog/details/console_globals.h')
-rw-r--r--include/spdlog/details/console_globals.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/include/spdlog/details/console_globals.h b/include/spdlog/details/console_globals.h
deleted file mode 100644
index 665201dd..00000000
--- a/include/spdlog/details/console_globals.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
-// Distributed under the MIT License (http://opensource.org/licenses/MIT)
-
-#pragma once
-
-#include <spdlog/details/null_mutex.h>
-#include <mutex>
-
-namespace spdlog {
-namespace details {
-
-struct console_mutex
-{
- using mutex_t = std::mutex;
- static mutex_t &mutex()
- {
- static mutex_t s_mutex;
- return s_mutex;
- }
-};
-
-struct console_nullmutex
-{
- using mutex_t = null_mutex;
- static mutex_t &mutex()
- {
- static mutex_t s_mutex;
- return s_mutex;
- }
-};
-} // namespace details
-} // namespace spdlog