Skip to content

Commit 9c0cd5f

Browse files
author
lizzie
committed
stupid clang
1 parent 1c60ae8 commit 9c0cd5f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

renderdoc/os/posix/bsd/bsd_threading.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void Threading::SetCurrentThreadName(const rdcstr &name)
4444
pthread_setname_np(pthread_self(), name.c_str());
4545
}
4646

47-
Threading::Semaphore* Threading::Semaphore::Create()
47+
Threading::Semaphore *Threading::Semaphore::Create()
4848
{
4949
return new Threading::Semaphore();
5050
}
@@ -56,7 +56,7 @@ void Threading::Semaphore::Destroy()
5656

5757
void Threading::Semaphore::Wake(uint32_t numToWake)
5858
{
59-
if (numToWake == 0)
59+
if(numToWake == 0)
6060
{
6161
return;
6262
}
@@ -65,7 +65,7 @@ void Threading::Semaphore::Wake(uint32_t numToWake)
6565
m_count += numToWake;
6666
lock.unlock();
6767

68-
for (uint32_t i = 0; i < numToWake; ++i)
68+
for(uint32_t i = 0; i < numToWake; ++i)
6969
{
7070
m_condition_variable.notify_one();
7171
}
@@ -91,4 +91,3 @@ uint32_t Threading::NumberOfCores()
9191

9292
return static_cast<uint32_t>(core_count);
9393
}
94-

0 commit comments

Comments
 (0)