summaryrefslogtreecommitdiff
path: root/src/api
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/api
parent4b7de240edeee362a0b9ca440c22a8b0744cf34b (diff)
Initial work towards -Wshadow (#3817)
Diffstat (limited to 'src/api')
-rw-r--r--src/api/cvc4cpp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/cvc4cpp.cpp b/src/api/cvc4cpp.cpp
index 4e5f4604e..02fbbc42c 100644
--- a/src/api/cvc4cpp.cpp
+++ b/src/api/cvc4cpp.cpp
@@ -1832,9 +1832,9 @@ DatatypeDecl::DatatypeDecl(const Solver* s,
bool isCoDatatype)
{
std::vector<Type> tparams;
- for (const Sort& s : params)
+ for (const Sort& p : params)
{
- tparams.push_back(*s.d_type);
+ tparams.push_back(*p.d_type);
}
d_dtype = std::shared_ptr<CVC4::Datatype>(
new CVC4::Datatype(s->getExprManager(), name, tparams, isCoDatatype));
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback