Procházet zdrojové kódy

Matched up platform semaphore declarations

Thomas "elfprince13" Dickerson před 8 roky
rodič
revize
cd98ee730f
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      Engine/source/platformSDL/threads/semaphore.cpp

+ 2 - 1
Engine/source/platformSDL/threads/semaphore.cpp

@@ -25,8 +25,9 @@
 #include <SDL.h>
 #include <SDL_thread.h>
 
-struct PlatformSemaphore
+class PlatformSemaphore
 {
+public:
    SDL_sem *semaphore;
 
    PlatformSemaphore(S32 initialCount)