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/physics.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'yage/physics/physics.h') diff --git a/yage/physics/physics.h b/yage/physics/physics.h index 64dcd95f..77823540 100644 --- a/yage/physics/physics.h +++ b/yage/physics/physics.h @@ -6,8 +6,7 @@ * ---------------------------------------------------------------------------- */ -#ifndef YAGE_PHYSICS_H -#define YAGE_PHYSICS_H +#pragma once #include "body.h" #include "collider.h" @@ -15,5 +14,3 @@ #include "particlebody.h" #include "rectanglecollider.h" #include "rigidbody.h" - -#endif -- cgit