aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/glue/time/static.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-01-30 02:27:27 -0500
committerLiam <byteslice@airmail.cc>2024-02-01 12:57:54 -0500
commit35e3c6802832f7396a04603edca9434acc6d3972 (patch)
tree52eaad3e62761c3c0a5738620f4201322de6fc3f /src/core/hle/service/glue/time/static.cpp
parent3212bf529428f4dc45ccce550c956276557c52fb (diff)
service: use const references for input raw data
Diffstat (limited to 'src/core/hle/service/glue/time/static.cpp')
-rw-r--r--src/core/hle/service/glue/time/static.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/glue/time/static.cpp b/src/core/hle/service/glue/time/static.cpp
index f56db76e1..f8c1218f3 100644
--- a/src/core/hle/service/glue/time/static.cpp
+++ b/src/core/hle/service/glue/time/static.cpp
@@ -200,7 +200,7 @@ Result StaticService::GetStandardUserSystemClockAutomaticCorrectionUpdatedTime(
}
Result StaticService::CalculateMonotonicSystemClockBaseTimePoint(
- Out<s64> out_time, Service::PSC::Time::SystemClockContext& context) {
+ Out<s64> out_time, const Service::PSC::Time::SystemClockContext& context) {
SCOPE_EXIT({ LOG_DEBUG(Service_Time, "called. context={} out_time={}", context, *out_time); });
R_RETURN(m_wrapped_service->CalculateMonotonicSystemClockBaseTimePoint(out_time, context));
@@ -216,8 +216,8 @@ Result StaticService::GetClockSnapshot(OutClockSnapshot out_snapshot,
Result StaticService::GetClockSnapshotFromSystemClockContext(
Service::PSC::Time::TimeType type, OutClockSnapshot out_snapshot,
- Service::PSC::Time::SystemClockContext& user_context,
- Service::PSC::Time::SystemClockContext& network_context) {
+ const Service::PSC::Time::SystemClockContext& user_context,
+ const Service::PSC::Time::SystemClockContext& network_context) {
SCOPE_EXIT({
LOG_DEBUG(Service_Time,
"called. type={} out_snapshot={} user_context={} network_context={}", type,