Răsfoiți Sursa

Matched up platform semaphore declarations

Thomas "elfprince13" Dickerson 9 ani în urmă
părinte
comite
cd98ee730f
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  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.h>
 #include <SDL_thread.h>
 #include <SDL_thread.h>
 
 
-struct PlatformSemaphore
+class PlatformSemaphore
 {
 {
+public:
    SDL_sem *semaphore;
    SDL_sem *semaphore;
 
 
    PlatformSemaphore(S32 initialCount)
    PlatformSemaphore(S32 initialCount)