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/physics/rigidbody.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'yage/physics/rigidbody.h') diff --git a/yage/physics/rigidbody.h b/yage/physics/rigidbody.h index dae9f8e5..686a13a6 100644 --- a/yage/physics/rigidbody.h +++ b/yage/physics/rigidbody.h @@ -6,8 +6,7 @@ * ---------------------------------------------------------------------------- */ -#ifndef YAGE_RIGID_BODY_H -#define YAGE_RIGID_BODY_H +#pragma once #include "particlebody.h" @@ -24,5 +23,3 @@ public: }; } // namespace yage - -#endif -- cgit