summaryrefslogtreecommitdiff
path: root/src/ints/little.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-06-26 21:59:27 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-06-26 22:28:22 -0700
commit2f4fc005937e75d931eb6ef87a3fe16364d45113 (patch)
tree2a60ea7b58e9a3045ec0e0754e075ae958e46409 /src/ints/little.hpp
parentf5fcb973cfad6221264a2a859f5236c3cef2c470 (diff)
downloadtmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.gz
tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.bz2
tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.xz
tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.zip
Stick everything in a namespace
Diffstat (limited to 'src/ints/little.hpp')
-rw-r--r--src/ints/little.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ints/little.hpp b/src/ints/little.hpp
index 9dd32c2..62bd729 100644
--- a/src/ints/little.hpp
+++ b/src/ints/little.hpp
@@ -25,6 +25,9 @@
# include <cstdint>
+
+namespace tmwa
+{
// We implement our own actual swapping, because glibc emits assembly
// instead of letting the *compiler* do what it does best.
# if __BYTE_ORDER != __BIG_ENDIAN && __BYTE_ORDER != __LITTLE_ENDIAN
@@ -135,5 +138,6 @@ using ints::Byte;
using ints::Little16;
using ints::Little32;
using ints::Little64;
+} // namespace tmwa
#endif // TMWA_INTS_LITTLE_HPP