1
0
Fork 0
forked from suyu/suyu

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

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