summaryrefslogtreecommitdiffstats
path: root/src/common/logging
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-20 21:31:25 +0200
committerLioncash <mathew1800@gmail.com>2018-07-20 21:31:27 +0200
commit7a1a860abe6a6032353209a3df3841ee574877a8 (patch)
tree8915e5513f3269d7842c87080f90be1db6f89309 /src/common/logging
parentlogging/backend: Use std::string_view in RemoveBackend() and GetBackend() (diff)
downloadyuzu-7a1a860abe6a6032353209a3df3841ee574877a8.tar
yuzu-7a1a860abe6a6032353209a3df3841ee574877a8.tar.gz
yuzu-7a1a860abe6a6032353209a3df3841ee574877a8.tar.bz2
yuzu-7a1a860abe6a6032353209a3df3841ee574877a8.tar.lz
yuzu-7a1a860abe6a6032353209a3df3841ee574877a8.tar.xz
yuzu-7a1a860abe6a6032353209a3df3841ee574877a8.tar.zst
yuzu-7a1a860abe6a6032353209a3df3841ee574877a8.zip
Diffstat (limited to 'src/common/logging')
-rw-r--r--src/common/logging/backend.cpp5
-rw-r--r--src/common/logging/backend.h2
2 files changed, 3 insertions, 4 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp
index 3745af9df..59b999935 100644
--- a/src/common/logging/backend.cpp
+++ b/src/common/logging/backend.cpp
@@ -3,19 +3,20 @@
// Refer to the license.txt file included.
#include <algorithm>
-#include <array>
+#include <atomic>
#include <chrono>
#include <climits>
#include <condition_variable>
#include <memory>
+#include <mutex>
#include <thread>
+#include <vector>
#ifdef _WIN32
#include <share.h> // For _SH_DENYWR
#else
#define _SH_DENYWR 0
#endif
#include "common/assert.h"
-#include "common/common_funcs.h" // snprintf compatibility define
#include "common/logging/backend.h"
#include "common/logging/log.h"
#include "common/logging/text_formatter.h"
diff --git a/src/common/logging/backend.h b/src/common/logging/backend.h
index 45609a535..b3f4b9cef 100644
--- a/src/common/logging/backend.h
+++ b/src/common/logging/backend.h
@@ -4,11 +4,9 @@
#pragma once
#include <chrono>
-#include <cstdarg>
#include <memory>
#include <string>
#include <string_view>
-#include <utility>
#include "common/file_util.h"
#include "common/logging/filter.h"
#include "common/logging/log.h"