瀏覽代碼

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.
lat9nq 3 年之前
父節點
當前提交
21675c9b68
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/common/settings.cpp

+ 3 - 2
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>