Skip to content

Commit

Permalink
preserve existing getInstance() code
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Smith committed Dec 12, 2023
1 parent 938fa48 commit d76cbe7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions six/modules/c++/six/include/six/XMLControlFactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

}

Expand Down

0 comments on commit d76cbe7

Please sign in to comment.