From e9df867a21d83f1dc180d195a4a00798398499c2 Mon Sep 17 00:00:00 2001 From: Aleric Inglewood Date: Sat, 24 Mar 2012 22:49:41 +0100 Subject: [PATCH] Like the other AIThreadSafe* objects, disallow AIThreadSafeSingleThread copy/assign --- indra/llcommon/aithreadsafe.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/indra/llcommon/aithreadsafe.h b/indra/llcommon/aithreadsafe.h index a3008b68a..2c11908af 100644 --- a/indra/llcommon/aithreadsafe.h +++ b/indra/llcommon/aithreadsafe.h @@ -690,6 +690,11 @@ public: { llassert(object == AIThreadSafeBits::ptr()); } + +private: + // Disallow copying or assignments. + AIThreadSafeSingleThread(AIThreadSafeSingleThread const&); + void operator=(AIThreadSafeSingleThread const&); }; /**