forked from ShuriZma/suyu
service/time: Mark IsStandardNetworkSystemClockAccuracySufficient as const
This doesn't modify internal member state.
This commit is contained in:
parent
0cfd3b94db
commit
b533f18ab9
|
@ -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…
Reference in New Issue