diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-06-26 21:59:27 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-06-26 22:28:22 -0700 |
commit | 2f4fc005937e75d931eb6ef87a3fe16364d45113 (patch) | |
tree | 2a60ea7b58e9a3045ec0e0754e075ae958e46409 /src/mmo/utils.hpp | |
parent | f5fcb973cfad6221264a2a859f5236c3cef2c470 (diff) | |
download | tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.gz tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.bz2 tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.xz tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.zip |
Stick everything in a namespace
Diffstat (limited to 'src/mmo/utils.hpp')
-rw-r--r-- | src/mmo/utils.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mmo/utils.hpp b/src/mmo/utils.hpp index f8e84fe..95c89fc 100644 --- a/src/mmo/utils.hpp +++ b/src/mmo/utils.hpp @@ -23,6 +23,7 @@ # include "fwd.hpp" +# include <cstring> # include <ctime> # include <type_traits> @@ -36,6 +37,9 @@ # include "../io/fwd.hpp" + +namespace tmwa +{ template<class T> struct is_trivially_copyable : std::integral_constant<bool, @@ -161,5 +165,6 @@ static_assert(sizeof(TIMESTAMP_DUMMY) == sizeof(timestamp_seconds_buffer), )[-1], \ &t \ ) +} // namespace tmwa #endif // TMWA_MMO_UTILS_HPP |