mirror of
https://github.com/pocoproject/poco.git
synced 2026-01-02 10:43:22 +01:00
enh: #3890: Get rid of SingletonHolder
This commit is contained in:
@@ -1569,15 +1569,10 @@ void SecureSocketImpl::stateMachine()
|
||||
}
|
||||
|
||||
|
||||
namespace
|
||||
{
|
||||
static Poco::SingletonHolder<StateMachine> stateMachineSingleton;
|
||||
}
|
||||
|
||||
|
||||
StateMachine& StateMachine::instance()
|
||||
{
|
||||
return *stateMachineSingleton.get();
|
||||
static StateMachine sm;
|
||||
return sm;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user