fix: fix assigment in pool controller
This commit is contained in:
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
PoolControllerMap::PoolControllerMap(const std::map<StringMapper, PoolController>& pools)
|
PoolControllerMap::PoolControllerMap(const std::map<StringMapper, PoolController>& pools)
|
||||||
{
|
{
|
||||||
mPools = pools;
|
mPools.clear();
|
||||||
|
mPools.insert(pools.begin(), pools.end());
|
||||||
}
|
}
|
||||||
|
|
||||||
void PoolControllerMap::clear()
|
void PoolControllerMap::clear()
|
||||||
|
|||||||
Reference in New Issue
Block a user