3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-22 20:39:11 +00:00

don't rely on initializer list implementations, there are no constructors in the standard

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-12-22 10:48:37 -08:00
parent 09fa657be9
commit d183ac23d0
9 changed files with 22 additions and 13 deletions

View file

@ -444,7 +444,11 @@ namespace polysat {
}
void core::add_axiom(char const* name, core_vector const& cs, bool is_redundant) {
s.add_axiom(name, cs, is_redundant);
s.add_axiom(name, cs.begin(), cs.end(), is_redundant);
}
void core::add_axiom(char const* name, constraint_or_dependency const* begin, constraint_or_dependency const* end, bool is_redundant) {
s.add_axiom(name, begin, end, is_redundant);
}
std::ostream& core::display(std::ostream& out) const {