summaryrefslogtreecommitdiff
path: root/src/net/timer.cpp
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/net/timer.cpp
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/net/timer.cpp')
-rw-r--r--src/net/timer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/timer.cpp b/src/net/timer.cpp
index 64077c6..8d03c17 100644
--- a/src/net/timer.cpp
+++ b/src/net/timer.cpp
@@ -32,6 +32,9 @@
#include "../poison.hpp"
+
+namespace tmwa
+{
struct TimerData
{
/// This will be reset on call, to avoid problems.
@@ -215,3 +218,4 @@ bool has_timers()
{
return !timer_heap.empty();
}
+} // namespace tmwa