We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eab448d commit 64b3bc8Copy full SHA for 64b3bc8
1 file changed
Data/src/SessionPool.cpp
@@ -67,7 +67,7 @@ SessionPool::~SessionPool()
67
68
Session SessionPool::get(const std::string& name, bool value)
69
{
70
- Session& s = get();
+ Session s = get();
71
_addFeatureMap.insert(AddFeatureMap::value_type(s.impl(),
72
std::make_pair(name, s.getFeature(name))));
73
s.setFeature(name, value);
0 commit comments