diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-05-19 20:23:53 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-05-19 20:23:53 +0100 |
commit | ce72a4975b76c1f244221d7d11e6a4eebc98b99b (patch) | |
tree | b50ba73b4e4a14f66b281c05fd5a52e960b94076 /yage/physics/rectanglecollider.h | |
parent | fe4ef72bde8e93589922a60b3a03dbb148a00b57 (diff) | |
download | YAGE-ce72a4975b76c1f244221d7d11e6a4eebc98b99b.tar.gz YAGE-ce72a4975b76c1f244221d7d11e6a4eebc98b99b.zip |
Using pragma instead of gards
The reason for this is that it reduces clashes between names.
Diffstat (limited to 'yage/physics/rectanglecollider.h')
-rw-r--r-- | yage/physics/rectanglecollider.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/yage/physics/rectanglecollider.h b/yage/physics/rectanglecollider.h index ba3bdead..c08e553b 100644 --- a/yage/physics/rectanglecollider.h +++ b/yage/physics/rectanglecollider.h @@ -6,8 +6,7 @@ * ---------------------------------------------------------------------------- */ -#ifndef YAGE_RECTANGLE_COLLIDER_H -#define YAGE_RECTANGLE_COLLIDER_H +#pragma once #include "collider.h" @@ -26,5 +25,3 @@ public: }; } // namespace yage - -#endif |