Signed-off-by: Marco Scardovi <mscardovi@icloud.com>
This commit is contained in:
Marco Scardovi 2022-11-24 23:20:07 +01:00
parent 59d95a4ce6
commit 6fe2028bca
No known key found for this signature in database
GPG Key ID: 4997125109FEC706

View File

@ -59,8 +59,8 @@ public:
{
ASSERT_TRUE(query_used((QofQuery*)query));
auto it = std::find(m_queriesUsed.begin(), m_queriesUsed.end(), query);
m_queriesUsed.erase(it);
m_queriesConsumed.push_back(*it);
m_queriesUsed.erase(it);
}
/* Remove a formerly added QofFakeQueryObject from the pool */