浏览代码

Merge branch 'fixedSemaphoreStructToClass'

Thomas "elfprince13" Dickerson 8 年之前
父节点
当前提交
ac2574882a
共有 1 个文件被更改,包括 2 次插入1 次删除
  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)