Browse Source

service/time: Mark IsStandardNetworkSystemClockAccuracySufficient as const

This doesn't modify internal member state.
pull/15/merge
Lioncash 6 years ago
parent
commit
b533f18ab9
  1. 2
      src/core/hle/service/time/standard_network_system_clock_core.h

2
src/core/hle/service/time/standard_network_system_clock_core.h

@ -23,7 +23,7 @@ public:
standard_network_clock_sufficient_accuracy = value; standard_network_clock_sufficient_accuracy = value;
} }
bool IsStandardNetworkSystemClockAccuracySufficient(Core::System& system) {
bool IsStandardNetworkSystemClockAccuracySufficient(Core::System& system) const {
SystemClockContext context{}; SystemClockContext context{};
if (GetClockContext(system, context) != RESULT_SUCCESS) { if (GetClockContext(system, context) != RESULT_SUCCESS) {
return {}; return {};

Loading…
Cancel
Save