summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Thread.h
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-02-11 01:38:07 +0100
committerPierre Bourdon <delroth@gmail.com>2014-02-11 01:38:07 +0100
commit002c8f45edbe22a7f4b50fbdde8f4c1274e1e841 (patch)
tree2f352e13e3d5868db072f1e75d611a90e938d0cf /Source/Core/Common/Thread.h
parenta0a65a2906af132f6da04cf552812aac6ac5f20a (diff)
parentd2038049f51192fbb55fbde2fc08128bacfb7707 (diff)
Merge pull request #58 from lioncash/reppin-pragma-city
Replace all include guard ifdefs with "#pragma once"
Diffstat (limited to 'Source/Core/Common/Thread.h')
-rw-r--r--Source/Core/Common/Thread.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/Core/Common/Thread.h b/Source/Core/Common/Thread.h
index b2e9572ce5..5f3af35da5 100644
--- a/Source/Core/Common/Thread.h
+++ b/Source/Core/Common/Thread.h
@@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
-#ifndef _THREAD_H_
-#define _THREAD_H_
+#pragma once
#include "StdConditionVariable.h"
#include "StdMutex.h"
@@ -122,5 +121,3 @@ inline void YieldCPU()
void SetCurrentThreadName(const char *name);
} // namespace Common
-
-#endif // _THREAD_H_