aboutsummaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-27 19:13:54 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-27 19:13:54 -0400
commit21675c9b68741d15b678598aa555536bfc6a6f76 (patch)
tree370eb6fd83bf86a050e2cbc9d28abc7ccf3cc8f9 /src/common/settings.cpp
parent32475efbc4326a3e7a97883f39b21b91fd14af60 (diff)
settings: Clean up includes
Adds <version> since we are looking at C++ implementation version details. Also moves exception header includes into the if preprocessor command since we only use it there.
Diffstat (limited to 'src/common/settings.cpp')
-rw-r--r--src/common/settings.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index a1df691407..6cbbea1b21 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -1,10 +1,11 @@
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include <exception>
-#include <stdexcept>
+#include <version>
#if __cpp_lib_chrono >= 201907L
#include <chrono>
+#include <exception>
+#include <stdexcept>
#endif
#include <string_view>