2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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