aboutsummaryrefslogtreecommitdiffstats
path: root/yage/util/syncqueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'yage/util/syncqueue.h')
-rw-r--r--yage/util/syncqueue.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/yage/util/syncqueue.h b/yage/util/syncqueue.h
index 7b5e5680..d47d10a0 100644
--- a/yage/util/syncqueue.h
+++ b/yage/util/syncqueue.h
@@ -6,8 +6,7 @@
* ----------------------------------------------------------------------------
*/
-#ifndef YAGE_UTIL_SYNCQUEUE_H
-#define YAGE_UTIL_SYNCQUEUE_H
+#pragma once
#include <condition_variable>
#include <mutex>
@@ -85,5 +84,3 @@ void SyncQueue<T>::push(T &&item)
}
} // namespace yage
-
-#endif