summaryrefslogtreecommitdiff
path: root/src/misc/countedobj.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/countedobj.cpp')
-rw-r--r--src/misc/countedobj.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc/countedobj.cpp b/src/misc/countedobj.cpp
index 228b35e82..28f614afa 100644
--- a/src/misc/countedobj.cpp
+++ b/src/misc/countedobj.cpp
@@ -13,6 +13,8 @@
#include "countedptr.hpp"
+#include "../safeguards.h"
+
int32 SimpleCountedObject::AddRef()
{
return ++m_ref_cnt;