mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
Merge pull request #1262 from UniQP/warningsC++API
Fix warnings in C++ API
This commit is contained in:
commit
3694ed6689
|
@ -354,7 +354,7 @@ namespace z3 {
|
||||||
Z3_error_code check_error() const { return m_ctx->check_error(); }
|
Z3_error_code check_error() const { return m_ctx->check_error(); }
|
||||||
friend void check_context(object const & a, object const & b);
|
friend void check_context(object const & a, object const & b);
|
||||||
};
|
};
|
||||||
inline void check_context(object const & a, object const & b) { assert(a.m_ctx == b.m_ctx); }
|
inline void check_context(object const & a, object const & b) { (void)a; (void)b; assert(a.m_ctx == b.m_ctx); }
|
||||||
|
|
||||||
class symbol : public object {
|
class symbol : public object {
|
||||||
Z3_symbol m_sym;
|
Z3_symbol m_sym;
|
||||||
|
|
Loading…
Reference in a new issue