mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-16 07:07:13 +02:00
Use pragma once instead of macro guards.
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
#ifndef _BASE_AABB_HPP_
|
||||
#define _BASE_AABB_HPP_
|
||||
#pragma once
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "Base/Vector3.hpp"
|
||||
@ -479,5 +478,3 @@ struct AABB
|
||||
};
|
||||
|
||||
} // Namespace:: SqMod
|
||||
|
||||
#endif // _BASE_AABB_HPP_
|
||||
|
@ -1,5 +1,4 @@
|
||||
#ifndef _BASE_BUFFER_HPP_
|
||||
#define _BASE_BUFFER_HPP_
|
||||
#pragma once
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include <cmath>
|
||||
@ -1022,5 +1021,3 @@ private:
|
||||
};
|
||||
|
||||
} // Namespace:: SqMod
|
||||
|
||||
#endif // _BASE_BUFFER_HPP_
|
||||
|
@ -1,5 +1,4 @@
|
||||
#ifndef _BASE_CIRCLE_HPP_
|
||||
#define _BASE_CIRCLE_HPP_
|
||||
#pragma once
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "SqBase.hpp"
|
||||
@ -424,5 +423,3 @@ struct Circle
|
||||
};
|
||||
|
||||
} // Namespace:: SqMod
|
||||
|
||||
#endif // _BASE_CIRCLE_HPP_
|
||||
|
@ -1,5 +1,4 @@
|
||||
#ifndef _BASE_COLOR3_HPP_
|
||||
#define _BASE_COLOR3_HPP_
|
||||
#pragma once
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "SqBase.hpp"
|
||||
@ -511,5 +510,3 @@ struct Color3
|
||||
};
|
||||
|
||||
} // Namespace:: SqMod
|
||||
|
||||
#endif // _BASE_COLOR3_HPP_
|
||||
|
@ -1,5 +1,4 @@
|
||||
#ifndef _BASE_COLOR4_HPP_
|
||||
#define _BASE_COLOR4_HPP_
|
||||
#pragma once
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "SqBase.hpp"
|
||||
@ -511,5 +510,3 @@ struct Color4
|
||||
};
|
||||
|
||||
} // Namespace:: SqMod
|
||||
|
||||
#endif // _BASE_COLOR4_HPP_
|
||||
|
@ -1,5 +1,4 @@
|
||||
#ifndef _BASE_DYNARG_HPP_
|
||||
#define _BASE_DYNARG_HPP_
|
||||
#pragma once
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
namespace SqMod {
|
||||
@ -805,5 +804,3 @@ template < typename T > struct SqDynArgModFn
|
||||
};
|
||||
|
||||
} // Namespace:: SqMod
|
||||
|
||||
#endif // _BASE_DYNARG_HPP_
|
||||
|
@ -1,5 +1,4 @@
|
||||
#ifndef _BASE_QUATERNION_HPP_
|
||||
#define _BASE_QUATERNION_HPP_
|
||||
#pragma once
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "SqBase.hpp"
|
||||
@ -452,5 +451,3 @@ struct Quaternion
|
||||
};
|
||||
|
||||
} // Namespace:: SqMod
|
||||
|
||||
#endif // _BASE_QUATERNION_HPP_
|
||||
|
@ -1,5 +1,4 @@
|
||||
#ifndef _BASE_SCRIPTSRC_HPP_
|
||||
#define _BASE_SCRIPTSRC_HPP_
|
||||
#pragma once
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "Base/Utility.hpp"
|
||||
@ -79,5 +78,3 @@ public:
|
||||
|
||||
|
||||
} // Namespace:: SqMod
|
||||
|
||||
#endif // _BASE_SCRIPTSRC_HPP_
|
||||
|
@ -1,5 +1,4 @@
|
||||
#ifndef _BASE_SHARED_HPP_
|
||||
#define _BASE_SHARED_HPP_
|
||||
#pragma once
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "Base/Utility.hpp"
|
||||
@ -255,5 +254,3 @@ template < typename T > inline void SqSetDelimiter(SQInteger c)
|
||||
}
|
||||
|
||||
} // Namespace:: SqMod
|
||||
|
||||
#endif // _BASE_SHARED_HPP_
|
||||
|
@ -1,5 +1,4 @@
|
||||
#ifndef _BASE_SPHERE_HPP_
|
||||
#define _BASE_SPHERE_HPP_
|
||||
#pragma once
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "SqBase.hpp"
|
||||
@ -423,5 +422,3 @@ struct Sphere
|
||||
};
|
||||
|
||||
} // Namespace:: SqMod
|
||||
|
||||
#endif // _BASE_SPHERE_HPP_
|
@ -1,5 +1,4 @@
|
||||
#ifndef _BASE_VECTOR2_HPP_
|
||||
#define _BASE_VECTOR2_HPP_
|
||||
#pragma once
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "SqBase.hpp"
|
||||
@ -356,5 +355,3 @@ struct Vector2
|
||||
};
|
||||
|
||||
} // Namespace:: SqMod
|
||||
|
||||
#endif // _BASE_VECTOR2_HPP_
|
||||
|
@ -1,5 +1,4 @@
|
||||
#ifndef _BASE_VECTOR2I_HPP_
|
||||
#define _BASE_VECTOR2I_HPP_
|
||||
#pragma once
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "SqBase.hpp"
|
||||
@ -457,5 +456,3 @@ struct Vector2i
|
||||
};
|
||||
|
||||
} // Namespace:: SqMod
|
||||
|
||||
#endif // _BASE_VECTOR2I_HPP_
|
||||
|
@ -1,5 +1,4 @@
|
||||
#ifndef _BASE_VECTOR3_HPP_
|
||||
#define _BASE_VECTOR3_HPP_
|
||||
#pragma once
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "SqBase.hpp"
|
||||
@ -503,5 +502,3 @@ struct Vector3
|
||||
};
|
||||
|
||||
} // Namespace:: SqMod
|
||||
|
||||
#endif // _BASE_VECTOR3_HPP_
|
||||
|
@ -1,5 +1,4 @@
|
||||
#ifndef _BASE_VECTOR4_HPP_
|
||||
#define _BASE_VECTOR4_HPP_
|
||||
#pragma once
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "SqBase.hpp"
|
||||
@ -377,5 +376,3 @@ struct Vector4
|
||||
};
|
||||
|
||||
} // Namespace:: SqMod
|
||||
|
||||
#endif // _BASE_VECTOR4_HPP_
|
||||
|
Reference in New Issue
Block a user