瀏覽代碼

Minor code formatting. Add contributor.

Lasse Öörni 8 年之前
父節點
當前提交
98322561be
共有 3 個文件被更改,包括 4 次插入4 次删除
  1. 1 0
      Docs/Urho3D.dox
  2. 1 0
      README.md
  3. 2 4
      Source/Urho3D/Core/Thread.cpp

+ 1 - 0
Docs/Urho3D.dox

@@ -79,6 +79,7 @@ Urho3D development, contributions and bugfixes by:
 - Sebastian Delatorre (primitivewaste)
 - Josh Engebretson
 - Simon Flores
+- Manuel Freiberger
 - Chris Friesen
 - Alex Fuller
 - Henrik Heino

+ 1 - 0
README.md

@@ -33,6 +33,7 @@ Urho3D development, contributions and bugfixes by:
 - Sebastian Delatorre (primitivewaste)
 - Josh Engebretson
 - Simon Flores
+- Manuel Freiberger
 - Chris Friesen
 - Alex Fuller
 - Henrik Heino

+ 2 - 4
Source/Urho3D/Core/Thread.cpp

@@ -38,8 +38,7 @@ namespace Urho3D
 #ifdef URHO3D_THREADING
 #ifdef _WIN32
 
-static
-DWORD WINAPI ThreadFunctionStatic(void* data)
+static DWORD WINAPI ThreadFunctionStatic(void* data)
 {
     Thread* thread = static_cast<Thread*>(data);
     thread->ThreadFunction();
@@ -48,8 +47,7 @@ DWORD WINAPI ThreadFunctionStatic(void* data)
 
 #else
 
-static
-void* ThreadFunctionStatic(void* data)
+static void* ThreadFunctionStatic(void* data)
 {
     Thread* thread = static_cast<Thread*>(data);
     thread->ThreadFunction();