From f469c3f68d300805b8800e282fae69ac2f0bf697 Mon Sep 17 00:00:00 2001 From: gabime Date: Mon, 2 Oct 2023 01:33:44 +0300 Subject: [PATCH] Removed console_globals.h --- include/spdlog/details/console_globals.h | 29 ------------------------ 1 file changed, 29 deletions(-) delete mode 100644 include/spdlog/details/console_globals.h diff --git a/include/spdlog/details/console_globals.h b/include/spdlog/details/console_globals.h deleted file mode 100644 index 87e9c365..00000000 --- a/include/spdlog/details/console_globals.h +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright(c) 2015-present, Gabi Melman & spdlog contributors. -// Distributed under the MIT License (http://opensource.org/licenses/MIT) - -#pragma once - -#include - -#include "null_mutex.h" - -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