From 7af4c5b5c561362cb1135ab504095ae667a9270a Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 27 Jun 2014 19:16:45 -0700 Subject: This is more reliable --- src/compat/cast.hpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/compat/cast.hpp') diff --git a/src/compat/cast.hpp b/src/compat/cast.hpp index 38a8997..35dbc62 100644 --- a/src/compat/cast.hpp +++ b/src/compat/cast.hpp @@ -1,5 +1,4 @@ -#ifndef TMWA_COMPAT_CAST_HPP -#define TMWA_COMPAT_CAST_HPP +#pragma once // cast.hpp - Change the type of a variable. // // Copyright © 2011-2014 Ben Longbons @@ -19,10 +18,10 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -# include "fwd.hpp" +#include "fwd.hpp" -# include -# include +#include +#include namespace tmwa @@ -71,5 +70,3 @@ typename std::remove_pointer::type *sign_cast(U *u) return reinterpret_cast(u); } } // namespace tmwa - -#endif // TMWA_COMPAT_CAST_HPP -- cgit v1.2.3-70-g09d2