diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-02-26 19:11:31 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-26 19:11:31 -0600 |
commit | d41d2a817f884e0f6c8d5cb3b87b4298bc1b56f5 (patch) | |
tree | 5cfe4336c5aa40cac613238a2625b1fb4aa55d31 /src/theory/assertion.h | |
parent | 4b7de240edeee362a0b9ca440c22a8b0744cf34b (diff) |
Initial work towards -Wshadow (#3817)
Diffstat (limited to 'src/theory/assertion.h')
-rw-r--r-- | src/theory/assertion.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/theory/assertion.h b/src/theory/assertion.h index 863a7e893..797ff3372 100644 --- a/src/theory/assertion.h +++ b/src/theory/assertion.h @@ -28,19 +28,21 @@ namespace theory { /** Information about an assertion for the theories. */ struct Assertion { /** The assertion expression. */ - const Node assertion; + const Node d_assertion; /** Has this assertion been preregistered with this theory. */ - const bool isPreregistered; + const bool d_isPreregistered; Assertion(TNode assertion, bool isPreregistered) - : assertion(assertion), isPreregistered(isPreregistered) {} + : d_assertion(assertion), d_isPreregistered(isPreregistered) + { + } /** Convert the assertion to a TNode. */ - operator TNode() const { return assertion; } + operator TNode() const { return d_assertion; } /** Convert the assertion to a Node. */ - operator Node() const { return assertion; } + operator Node() const { return d_assertion; } }; /* struct Assertion */ |