summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar lat9nq2023-06-27 19:13:54 -0400
committerGravatar lat9nq2023-06-27 19:13:54 -0400
commit21675c9b68741d15b678598aa555536bfc6a6f76 (patch)
tree370eb6fd83bf86a050e2cbc9d28abc7ccf3cc8f9 /src
parentsettings: Catch runtime_error, fallback time zone (diff)
downloadyuzu-21675c9b68741d15b678598aa555536bfc6a6f76.tar.gz
yuzu-21675c9b68741d15b678598aa555536bfc6a6f76.tar.xz
yuzu-21675c9b68741d15b678598aa555536bfc6a6f76.zip
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')
-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 a1df69140..6cbbea1b2 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -1,10 +1,11 @@
1// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project 1// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
2// SPDX-License-Identifier: GPL-2.0-or-later 2// SPDX-License-Identifier: GPL-2.0-or-later
3 3
4#include <exception> 4#include <version>
5#include <stdexcept>
6#if __cpp_lib_chrono >= 201907L 5#if __cpp_lib_chrono >= 201907L
7#include <chrono> 6#include <chrono>
7#include <exception>
8#include <stdexcept>
8#endif 9#endif
9#include <string_view> 10#include <string_view>
10 11