summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/set
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-12-08 04:00:34 +0100
committerLioncash <mathew1800@gmail.com>2020-12-08 05:02:23 +0100
commit6b7320add44bf3d933063d0b93296222fd522ef6 (patch)
tree06cb434947232a7105e955a8237285a15ac5556b /src/core/hle/service/set
parentMerge pull request #5164 from lioncash/contains (diff)
downloadyuzu-6b7320add44bf3d933063d0b93296222fd522ef6.tar
yuzu-6b7320add44bf3d933063d0b93296222fd522ef6.tar.gz
yuzu-6b7320add44bf3d933063d0b93296222fd522ef6.tar.bz2
yuzu-6b7320add44bf3d933063d0b93296222fd522ef6.tar.lz
yuzu-6b7320add44bf3d933063d0b93296222fd522ef6.tar.xz
yuzu-6b7320add44bf3d933063d0b93296222fd522ef6.tar.zst
yuzu-6b7320add44bf3d933063d0b93296222fd522ef6.zip
Diffstat (limited to 'src/core/hle/service/set')
-rw-r--r--src/core/hle/service/set/set_sys.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/set/set_sys.cpp b/src/core/hle/service/set/set_sys.cpp
index 19b8f113d..b58b2c8c5 100644
--- a/src/core/hle/service/set/set_sys.cpp
+++ b/src/core/hle/service/set/set_sys.cpp
@@ -34,9 +34,9 @@ void GetFirmwareVersionImpl(Kernel::HLERequestContext& ctx, GetFirmwareVersionTy
// consistence (currently reports as 5.1.0-0.0)
const auto archive = FileSys::SystemArchive::SystemVersion();
- const auto early_exit_failure = [&ctx](const std::string& desc, ResultCode code) {
+ const auto early_exit_failure = [&ctx](std::string_view desc, ResultCode code) {
LOG_ERROR(Service_SET, "General failure while attempting to resolve firmware version ({}).",
- desc.c_str());
+ desc);
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(code);
};