Kaynağa Gözat

olsc: Move member initialization to after member functions.

bunnei 5 yıl önce
ebeveyn
işleme
3794c91145
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      src/core/hle/service/olsc/olsc.cpp

+ 2 - 2
src/core/hle/service/olsc/olsc.cpp

@@ -43,8 +43,6 @@ public:
     }
 
 private:
-    bool initialized{};
-
     void Initialize(Kernel::HLERequestContext& ctx) {
         LOG_WARNING(Service_OLSC, "(STUBBED) called");
 
@@ -60,6 +58,8 @@ private:
         IPC::ResponseBuilder rb{ctx, 2};
         rb.Push(RESULT_SUCCESS);
     }
+
+    bool initialized{};
 };
 
 void InstallInterfaces(SM::ServiceManager& service_manager) {