From ce72a4975b76c1f244221d7d11e6a4eebc98b99b Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sat, 19 May 2018 20:23:53 +0100 Subject: Using pragma instead of gards The reason for this is that it reduces clashes between names. --- yage/util/syncqueue.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'yage/util/syncqueue.h') 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 #include @@ -85,5 +84,3 @@ void SyncQueue::push(T &&item) } } // namespace yage - -#endif -- cgit