summaryrefslogtreecommitdiffstats
path: root/src/common/std_mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/std_mutex.h')
-rw-r--r--src/common/std_mutex.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/common/std_mutex.h b/src/common/std_mutex.h
index 26eb58b62..5711d791b 100644
--- a/src/common/std_mutex.h
+++ b/src/common/std_mutex.h
@@ -1,6 +1,4 @@
-
-#ifndef MUTEX_H_
-#define MUTEX_H_
+#pragma once
#define GCC_VER(x,y,z) ((x) * 10000 + (y) * 100 + (z))
#define GCC_VERSION GCC_VER(__GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__)
@@ -362,4 +360,3 @@ void swap(unique_lock<Mutex>& x, unique_lock<Mutex>& y)
}
#endif
-#endif