summaryrefslogtreecommitdiff
path: root/indra/llui/llui.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llui/llui.h')
-rw-r--r--indra/llui/llui.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llui.h b/indra/llui/llui.h
index 6f0da05535..9399eff2ab 100644
--- a/indra/llui/llui.h
+++ b/indra/llui/llui.h
@@ -397,8 +397,13 @@ public:
delete sInstance;
sInstance = NULL;
}
+
+ static bool instanceExists() { return NULL != sInstance; }
private:
+ LLUISingleton(const LLUISingleton&){}
+ LLUISingleton& operator=(const LLUISingleton&){}
+private:
static T* sInstance;
};