Removing BOOST_FOREACH from theory/sets/scrutinize.h.
authorTim King <taking@google.com>
Wed, 31 Aug 2016 22:55:06 +0000 (15:55 -0700)
committerTim King <taking@google.com>
Wed, 31 Aug 2016 22:55:06 +0000 (15:55 -0700)
src/theory/sets/scrutinize.h

index 2ada4a3cea725fe93c231f023d0cc31d9d7f3807..88f6001b917dc2231fcfd196cd92d085ff456e15 100644 (file)
@@ -17,8 +17,6 @@
 
 #pragma once
 
-#include <boost/foreach.hpp>
-
 #include "theory/sets/theory_sets.h"
 #include "theory/sets/theory_sets_private.h"
 
@@ -55,7 +53,8 @@ public:
       }
     }
     bool checkPassed = true;
-    BOOST_FOREACH(TNode term, terms) {
+    for (std::set<Node>::const_iterator it = terms.begin(); it != terms.end(); it++){
+      TNode term = *it;
       if( term.getType().isSet() ) {
         checkPassed &= d_theory->checkModel(settermElementsMap, term);
       }
@@ -72,4 +71,3 @@ public:
 }/* CVC4::theory::sets namespace */
 }/* CVC4::theory namespace */
 }/* CVC4 namespace */
-