enh: #3890: Get rid of SingletonHolder

This commit is contained in:
Günter Obiltschnig
2024-01-30 09:56:27 +01:00
parent 33638df51e
commit d5a5ebc2d7
23 changed files with 44 additions and 168 deletions

View File

@@ -352,14 +352,9 @@ private:
};
namespace
{
static ActiveThreadPoolSingletonHolder sh;
}
ActiveThreadPool& ActiveThreadPool::defaultPool()
{
static ActiveThreadPoolSingletonHolder sh;
return *sh.pool();
}