diff options
author | bunnei <bunneidev@gmail.com> | 2014-08-17 20:32:04 -0400 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-08-17 20:32:04 -0400 |
commit | b26f25356d4463b5e4ccd36cf7365342d7306e7f (patch) | |
tree | 1cbe356089890c22e3f1e4084891f306d6e62d97 /src/common/std_mutex.h | |
parent | 7ed73af78fb1b8e736b7807633875b3fe05474e6 (diff) | |
parent | da6f24b37470064f10e68186965949d728fecb3c (diff) |
Merge pull request #51 from lioncash/pragma
Common: Move header guards over to pragma once.
Diffstat (limited to 'src/common/std_mutex.h')
-rw-r--r-- | src/common/std_mutex.h | 5 |
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 |