Przeglądaj źródła

Merge pull request #2494 from Kloen/killing-warnings-2-final-mix

core: inline CPU, 132 warnings fixed on GCC
Yuri Kunde Schlesner 9 lat temu
rodzic
commit
5bb6753f2e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/core/core.h

+ 1 - 1
src/core/core.h

@@ -115,7 +115,7 @@ private:
     static System s_instance;
 };
 
-static ARM_Interface& CPU() {
+inline ARM_Interface& CPU() {
     return System::GetInstance().CPU();
 }