summaryrefslogtreecommitdiff
path: root/src/theory/atom_requests.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-02-26 19:11:31 -0600
committerGitHub <noreply@github.com>2020-02-26 19:11:31 -0600
commitd41d2a817f884e0f6c8d5cb3b87b4298bc1b56f5 (patch)
tree5cfe4336c5aa40cac613238a2625b1fb4aa55d31 /src/theory/atom_requests.cpp
parent4b7de240edeee362a0b9ca440c22a8b0744cf34b (diff)
Initial work towards -Wshadow (#3817)
Diffstat (limited to 'src/theory/atom_requests.cpp')
-rw-r--r--src/theory/atom_requests.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/theory/atom_requests.cpp b/src/theory/atom_requests.cpp
index 6054ac603..821c2384c 100644
--- a/src/theory/atom_requests.cpp
+++ b/src/theory/atom_requests.cpp
@@ -65,15 +65,13 @@ void AtomRequests::add(TNode triggerAtom, TNode atomToSend, theory::TheoryId toT
d_triggerToRequestMap[triggerAtom] = index;
}
-bool AtomRequests::atom_iterator::done() const {
- return index == null_index;
-}
+bool AtomRequests::atom_iterator::done() const { return d_index == null_index; }
void AtomRequests::atom_iterator::next() {
- index = requests.d_requests[index].previous;
+ d_index = d_requests.d_requests[d_index].d_previous;
}
const AtomRequests::Request& AtomRequests::atom_iterator::get() const {
- return requests.d_requests[index].request;
+ return d_requests.d_requests[d_index].d_request;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback