3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-22 11:07:51 +00:00

avoid duplicate class names frame in sat_scc and sat_smt

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-08-30 20:16:48 -07:00
parent bee3077640
commit 314bd9277b
3 changed files with 7 additions and 7 deletions

View file

@ -21,16 +21,16 @@ Author:
namespace sat {
struct frame {
struct eframe {
expr* m_e;
unsigned m_idx;
frame(expr* e) : m_e(e), m_idx(0) {}
eframe(expr* e) : m_e(e), m_idx(0) {}
};
struct scoped_stack {
svector<frame>& s;
svector<eframe>& s;
unsigned sz;
scoped_stack(svector<frame>& s):s(s), sz(s.size()) {}
scoped_stack(svector<eframe>& s):s(s), sz(s.size()) {}
~scoped_stack() { s.shrink(sz); }
};