diff options
Diffstat (limited to 'src/theory/theory.cpp')
-rw-r--r-- | src/theory/theory.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/theory/theory.cpp b/src/theory/theory.cpp index 5d2128c54..d6ad4cd41 100644 --- a/src/theory/theory.cpp +++ b/src/theory/theory.cpp @@ -341,8 +341,9 @@ bool Theory::isLegalElimination(TNode x, TNode val) return tm->isLegalElimination(x, val); } -std::unordered_set<TNode, TNodeHashFunction> Theory::currentlySharedTerms() const{ - std::unordered_set<TNode, TNodeHashFunction> currentlyShared; +std::unordered_set<TNode> Theory::currentlySharedTerms() const +{ + std::unordered_set<TNode> currentlyShared; for (shared_terms_iterator i = shared_terms_begin(), i_end = shared_terms_end(); i != i_end; ++i) { currentlyShared.insert (*i); |