diff --git a/indra/llcommon/llsingleton.h b/indra/llcommon/llsingleton.h index ec3c562599..d9a60d9988 100644 --- a/indra/llcommon/llsingleton.h +++ b/indra/llcommon/llsingleton.h @@ -847,17 +847,6 @@ private: \ friend class LLSingleton; \ DERIVED_CLASS(__VA_ARGS__) -/** - * A slight variance from the above, but includes the "override" keyword - */ -#define LLSINGLETON_C11(DERIVED_CLASS) \ -private: \ - /* implement LLSingleton pure virtual method whose sole purpose */ \ - /* is to remind people to use this macro */ \ - virtual void you_must_use_LLSINGLETON_macro() override {} \ - friend class LLSingleton; \ - DERIVED_CLASS() - /** * Use LLSINGLETON_EMPTY_CTOR(Foo); at the start of an LLSingleton * subclass body when the constructor is trivial: @@ -876,10 +865,6 @@ private: \ /* LLSINGLETON() is carefully implemented to permit exactly this */ \ LLSINGLETON(DERIVED_CLASS) {} -#define LLSINGLETON_EMPTY_CTOR_C11(DERIVED_CLASS) \ - /* LLSINGLETON() is carefully implemented to permit exactly this */ \ - LLSINGLETON_C11(DERIVED_CLASS) {} - // Relatively unsafe singleton implementation that is much faster // and simpler than LLSingleton, but has no dependency tracking // or inherent thread safety and requires manual invocation of diff --git a/indra/newview/llchicletbar.h b/indra/newview/llchicletbar.h index 76e2d7224d..e2fe808018 100644 --- a/indra/newview/llchicletbar.h +++ b/indra/newview/llchicletbar.h @@ -41,7 +41,7 @@ class LLChicletBar // [FS communication UI] , public LLIMSessionObserver { - LLSINGLETON_C11(LLChicletBar); + LLSINGLETON(LLChicletBar); LOG_CLASS(LLChicletBar); public: diff --git a/indra/newview/llpaneltopinfobar.h b/indra/newview/llpaneltopinfobar.h index 6afb54031d..2a1942047f 100644 --- a/indra/newview/llpaneltopinfobar.h +++ b/indra/newview/llpaneltopinfobar.h @@ -37,7 +37,7 @@ class LLParcelChangeObserver; class LLPanelTopInfoBar : public LLPanel, public LLSingleton, private LLDestroyClass { - LLSINGLETON_C11(LLPanelTopInfoBar); + LLSINGLETON(LLPanelTopInfoBar); ~LLPanelTopInfoBar(); LOG_CLASS(LLPanelTopInfoBar); diff --git a/indra/newview/llvoiceclient.h b/indra/newview/llvoiceclient.h index b31fc0e54f..9e465a09f5 100644 --- a/indra/newview/llvoiceclient.h +++ b/indra/newview/llvoiceclient.h @@ -527,7 +527,7 @@ protected: **/ class LLSpeakerVolumeStorage : public LLSingleton { - LLSINGLETON_C11(LLSpeakerVolumeStorage); + LLSINGLETON(LLSpeakerVolumeStorage); ~LLSpeakerVolumeStorage(); LOG_CLASS(LLSpeakerVolumeStorage);