summaryrefslogtreecommitdiff
path: root/src/theory/theory.cpp
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2018-03-08 16:03:01 -0800
committerGitHub <noreply@github.com>2018-03-08 16:03:01 -0800
commit5d19d98e0720ccaf993c45e2997297751a6fc1ba (patch)
tree4bd77cf568cf22e7c79e4d7bafb2486e28108d2b /src/theory/theory.cpp
parentc6b2e085d4eb2c232a528a96e13fc7b65fd98fea (diff)
Fix Travis for unit test compilation errors. (#1651)
make units does not fail if we have compile error for a unit test, however, make check does. -Wsuggest-override is now explicitly disabled for unit tests since CxxTest does not add override keywords to the generated source code and thus get a lot of compiler warnings. Further, this fixes some issues introduced with #1647 due to make units not failing on Travis and fixes the nightly builds.
Diffstat (limited to 'src/theory/theory.cpp')
-rw-r--r--src/theory/theory.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/theory/theory.cpp b/src/theory/theory.cpp
index 2ef4f42bf..59a4d8590 100644
--- a/src/theory/theory.cpp
+++ b/src/theory/theory.cpp
@@ -69,8 +69,9 @@ Theory::Theory(TheoryId id,
d_careGraph(NULL),
d_quantEngine(NULL),
d_extTheory(NULL),
- d_checkTime(getStatsPrefix(id) + "::checkTime"),
- d_computeCareGraphTime(getStatsPrefix(id) + "::computeCareGraphTime"),
+ d_checkTime(getStatsPrefix(id) + name + "::checkTime"),
+ d_computeCareGraphTime(getStatsPrefix(id) + name
+ + "::computeCareGraphTime"),
d_sharedTerms(satContext),
d_out(&out),
d_valuation(valuation),
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback