summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-10 06:35:45 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 16:56:54 +0200
commit2fba913d0bc022085a0de8848ced02f38e48cd54 (patch)
tree19a561e755f91a9a7cef32899cf8cccc100b8372 /src
parentshared_widget: Use actionTriggered for user input signals (diff)
downloadyuzu-2fba913d0bc022085a0de8848ced02f38e48cd54.tar
yuzu-2fba913d0bc022085a0de8848ced02f38e48cd54.tar.gz
yuzu-2fba913d0bc022085a0de8848ced02f38e48cd54.tar.bz2
yuzu-2fba913d0bc022085a0de8848ced02f38e48cd54.tar.lz
yuzu-2fba913d0bc022085a0de8848ced02f38e48cd54.tar.xz
yuzu-2fba913d0bc022085a0de8848ced02f38e48cd54.tar.zst
yuzu-2fba913d0bc022085a0de8848ced02f38e48cd54.zip
Diffstat (limited to 'src')
-rw-r--r--src/common/settings_enums.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/settings_enums.h b/src/common/settings_enums.h
index d820bc48e..2710f136d 100644
--- a/src/common/settings_enums.h
+++ b/src/common/settings_enums.h
@@ -210,7 +210,7 @@ enum class AspectRatio : u32 {
#define X(ENUM, NAME) \
{ (#NAME), static_cast<u32>(ENUM::NAME) }
-static std::map<std::type_index, std::map<std::string, u32>> canonicalizations = {
+static const std::map<std::type_index, std::map<std::string, u32>> canonicalizations = {
{typeid(AudioEngine),
{
{"auto", static_cast<u32>(AudioEngine::Auto)},
@@ -377,7 +377,7 @@ static std::map<std::type_index, std::map<std::string, u32>> canonicalizations =
#undef X
-static std::string invalid_string{"(invalid setting)"};
+static const std::string invalid_string{"(invalid setting)"};
template <typename Type>
const std::string& CanonicalizeEnum(Type id) {