From c49f51eaf18e76e17385f29215991cc113440ff0 Mon Sep 17 00:00:00 2001 From: bunnei Date: Sat, 2 May 2020 23:35:31 -0400 Subject: [PATCH] Update src/core/hle/service/am/am.cpp Co-authored-by: Mat M. --- src/core/hle/service/am/am.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index 276a3fc0c..9522f8c4b 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp @@ -1353,7 +1353,7 @@ void IApplicationFunctions::GetDisplayVersion(Kernel::HLERequestContext& ctx) { const auto& version = res.first->GetVersionString(); std::copy(version.begin(), version.end(), version_string.begin()); } else { - const u128 default_version = {1, 0}; + constexpr u128 default_version = {1, 0}; std::memcpy(version_string.data(), default_version.data(), sizeof(u128)); }