mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 14:52:45 +01:00
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.
This commit is contained in:
parent
32475efbc4
commit
21675c9b68
1 changed files with 3 additions and 2 deletions
|
@ -1,10 +1,11 @@
|
||||||
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
|
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
#include <exception>
|
#include <version>
|
||||||
#include <stdexcept>
|
|
||||||
#if __cpp_lib_chrono >= 201907L
|
#if __cpp_lib_chrono >= 201907L
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
#include <exception>
|
||||||
|
#include <stdexcept>
|
||||||
#endif
|
#endif
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue