From cdc15e194eeb9859fa2ee5945db8804f8efd4f9b Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Tue, 12 Dec 2023 08:34:55 -0500 Subject: [PATCH] preserve existing getInstance() code --- six/modules/c++/six/include/six/XMLControlFactory.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/six/modules/c++/six/include/six/XMLControlFactory.h b/six/modules/c++/six/include/six/XMLControlFactory.h index 9735dfe9e..78de10825 100644 --- a/six/modules/c++/six/include/six/XMLControlFactory.h +++ b/six/modules/c++/six/include/six/XMLControlFactory.h @@ -200,6 +200,13 @@ SIX_SIX_API std::u8string toValidXMLString(const Data&, //! Singleton declaration of our XMLControlRegistry SIX_SIX_API XMLControlRegistry& getXMLControlFactory(); +namespace XMLControlFactory +{ + inline auto& getInstance() + { + return getXMLControlFactory(); + } +} }