3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 19:05:51 +00:00

disambiguating arguments to unordered map erase and dealing with unused and uninitialized variables

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-05-09 15:35:00 -07:00
parent d43c12413d
commit f4544eb060
3 changed files with 5 additions and 3 deletions

View file

@ -184,7 +184,7 @@ void random_updater::remove_value(numeric_pair<mpq>& v) {
lean_assert(it != m_values.end());
it->second--;
if (it->second == 0)
m_values.erase(it);
m_values.erase((std::unordered_map<numeric_pair<mpq>, unsigned>::const_iterator)it);
}
void random_updater::add_column_to_sets(unsigned j) {