Skip to content

Commit

Permalink
TB08-009 fix z3 build on windows (#4782)
Browse files Browse the repository at this point in the history
It seems that VS 15.0 doesn't like this usage of "enum"

Change-Id: Ie7eba81ad9fd990aa436d323dc848d1b0f2c4370
  • Loading branch information
kanigsson authored Nov 9, 2020
1 parent 864eaf8 commit 7d205f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sat/sat_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ namespace sat {
st m_st;
int m_orig;
public:
status(enum st s, int o) : m_st(s), m_orig(o) {};
status(st s, int o) : m_st(s), m_orig(o) {};
status(status const& s) : m_st(s.m_st), m_orig(s.m_orig) {}
status(status&& s) noexcept { m_st = st::asserted; m_orig = -1; std::swap(m_st, s.m_st); std::swap(m_orig, s.m_orig); }
status& operator=(status const& other) { m_st = other.m_st; m_orig = other.m_orig; return *this; }
Expand Down

0 comments on commit 7d205f1

Please # to comment.