mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-25 18:30:23 -06:00
Fix test
Signed-off-by: Marco Scardovi <mscardovi@icloud.com>
This commit is contained in:
parent
59d95a4ce6
commit
6fe2028bca
@ -59,8 +59,8 @@ public:
|
|||||||
{
|
{
|
||||||
ASSERT_TRUE(query_used((QofQuery*)query));
|
ASSERT_TRUE(query_used((QofQuery*)query));
|
||||||
auto it = std::find(m_queriesUsed.begin(), m_queriesUsed.end(), query);
|
auto it = std::find(m_queriesUsed.begin(), m_queriesUsed.end(), query);
|
||||||
m_queriesUsed.erase(it);
|
|
||||||
m_queriesConsumed.push_back(*it);
|
m_queriesConsumed.push_back(*it);
|
||||||
|
m_queriesUsed.erase(it);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Remove a formerly added QofFakeQueryObject from the pool */
|
/* Remove a formerly added QofFakeQueryObject from the pool */
|
||||||
|
Loading…
Reference in New Issue
Block a user