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/core/exception.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'yage/core/exception.h') diff --git a/yage/core/exception.h b/yage/core/exception.h index 05733b39..843a58a1 100644 --- a/yage/core/exception.h +++ b/yage/core/exception.h @@ -1,5 +1,4 @@ -#ifndef YAGE_CORE_EXCEPTION_H -#define YAGE_CORE_EXCEPTION_H +#pragma once #include #include @@ -19,5 +18,3 @@ private: }; } // namespace yage - -#endif -- cgit