From 2f4fc005937e75d931eb6ef87a3fe16364d45113 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 26 Jun 2014 21:59:27 -0700 Subject: Stick everything in a namespace --- src/compat/cast.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/compat/cast.hpp') diff --git a/src/compat/cast.hpp b/src/compat/cast.hpp index b237df4..38a8997 100644 --- a/src/compat/cast.hpp +++ b/src/compat/cast.hpp @@ -25,6 +25,8 @@ # include +namespace tmwa +{ template const T& const_(T& t) { @@ -68,5 +70,6 @@ typename std::remove_pointer::type *sign_cast(U *u) static_assert(sizeof(T_) == sizeof(U), "sign cast must be same size"); return reinterpret_cast(u); } +} // namespace tmwa #endif // TMWA_COMPAT_CAST_HPP -- cgit v1.2.3-70-g09d2