forked from ShuriZma/suyu
1
0
Fork 0

service/time: Mark IsStandardNetworkSystemClockAccuracySufficient as const

This doesn't modify internal member state.
This commit is contained in:
Lioncash 2020-04-17 20:02:42 -04:00
parent 0cfd3b94db
commit b533f18ab9
1 changed files with 1 additions and 1 deletions

View File

@ -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 {};