Просмотр исходного кода

service/time: Mark IsStandardNetworkSystemClockAccuracySufficient as const

This doesn't modify internal member state.
Lioncash 6 лет назад
Родитель
Сommit
b533f18ab9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/core/hle/service/time/standard_network_system_clock_core.h

+ 1 - 1
src/core/hle/service/time/standard_network_system_clock_core.h

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