aboutsummaryrefslogtreecommitdiffstats
path: root/yage/physics/collisionbody.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-05-19 20:23:53 +0100
committerYann Herklotz <ymherklotz@gmail.com>2018-05-19 20:23:53 +0100
commitce72a4975b76c1f244221d7d11e6a4eebc98b99b (patch)
treeb50ba73b4e4a14f66b281c05fd5a52e960b94076 /yage/physics/collisionbody.h
parentfe4ef72bde8e93589922a60b3a03dbb148a00b57 (diff)
downloadYAGE-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/collisionbody.h')
-rw-r--r--yage/physics/collisionbody.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/yage/physics/collisionbody.h b/yage/physics/collisionbody.h
index c779feae..e1d9e6cf 100644
--- a/yage/physics/collisionbody.h
+++ b/yage/physics/collisionbody.h
@@ -6,8 +6,7 @@
* ----------------------------------------------------------------------------
*/
-#ifndef YAGE_COLLISION_BODY_H
-#define YAGE_COLLISION_BODY_H
+#pragma once
#include "body.h"
@@ -24,5 +23,3 @@ public:
};
} // yage
-
-#endif