Like the other AIThreadSafe* objects, disallow AIThreadSafeSingleThread copy/assign

This commit is contained in:
Aleric Inglewood
2012-03-24 22:49:41 +01:00
parent 4391614d6e
commit e9df867a21

View File

@@ -690,6 +690,11 @@ public:
{
llassert(object == AIThreadSafeBits<T>::ptr());
}
private:
// Disallow copying or assignments.
AIThreadSafeSingleThread(AIThreadSafeSingleThread const&);
void operator=(AIThreadSafeSingleThread const&);
};
/**