Fix cast from const by accessing string data directly (#8354)
[oweals/minetest.git] / src / irr_v2d.h
index 9a04928668300f2a1e77d6f62996f777677b41bf..a9065766be31509d1962bd71af597c1332ef9a4b 100644 (file)
@@ -1,6 +1,6 @@
 /*
 Minetest
-Copyright (C) 2010-2012 celeron55, Perttu Ahola <celeron55@gmail.com>
+Copyright (C) 2010-2013 celeron55, Perttu Ahola <celeron55@gmail.com>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU Lesser General Public License as published by
@@ -17,8 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
-#ifndef IRR_V2D_HEADER
-#define IRR_V2D_HEADER
+#pragma once
 
 #include "irrlichttypes.h"
 
@@ -29,6 +28,3 @@ typedef core::vector2d<s16> v2s16;
 typedef core::vector2d<s32> v2s32;
 typedef core::vector2d<u32> v2u32;
 typedef core::vector2d<f32> v2f32;
-
-#endif
-