aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/thread.h')
-rw-r--r--src/common/thread.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/common/thread.h b/src/common/thread.h
index d72ac7b4..ff2c1d8b 100644
--- a/src/common/thread.h
+++ b/src/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 "common/std_condition_variable.h"
#include "common/std_mutex.h"
@@ -152,5 +151,3 @@ inline void YieldCPU()
void SetCurrentThreadName(const char *name);
} // namespace Common
-
-#endif // _THREAD_H_