3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-09-30 21:19:29 +00:00

remove a few useless dynamic casts

This commit is contained in:
Nuno Lopes 2025-09-13 21:06:55 +01:00
parent f0c788581a
commit c350ddf990
8 changed files with 18 additions and 28 deletions

View file

@ -406,8 +406,7 @@ public:
}
void insert(const data & e) {
data tmp(e);
insert(std::move(tmp));
insert(data(e));
}
#define INSERT_LOOP_CORE_BODY() { \
@ -463,8 +462,7 @@ public:
}
bool insert_if_not_there_core(const data & e, entry * & et) {
data temp(e);
return insert_if_not_there_core(std::move(temp), et);
return insert_if_not_there_core(data(e), et);
}
/**