Update TheorySets to use CDHashSet<>::key_begin() / key_end().
authorMorgan Deters <mdeters@cs.nyu.edu>
Sun, 9 Nov 2014 23:20:28 +0000 (18:20 -0500)
committerMorgan Deters <mdeters@cs.nyu.edu>
Mon, 10 Nov 2014 00:00:05 +0000 (19:00 -0500)
src/theory/sets/theory_sets_private.cpp

index 57b761500e87189b258cfac907d5d61699c3a44a..87a05bbeb079fdba2c18a6384f125ce2cb4da819 100644 (file)
@@ -1114,7 +1114,7 @@ void TheorySetsPrivate::propagate(Theory::Effort effort) {
   }
 
   const CDNodeSet& terms = (d_termInfoManager->d_terms);
-  for(typeof(terms.begin()) it = terms.begin(); it != terms.end(); ++it) {
+  for(typeof(terms.key_begin()) it = terms.key_begin(); it != terms.key_end(); ++it) {
     Node node = (*it);
     Kind k = node.getKind();
     if(k == kind::UNION && node[0].getKind() == kind::SINGLETON ) {