diff options
Diffstat (limited to 'stp/sat/Global.h')
-rw-r--r-- | stp/sat/Global.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stp/sat/Global.h b/stp/sat/Global.h index a428975c..deaf8c24 100644 --- a/stp/sat/Global.h +++ b/stp/sat/Global.h @@ -194,7 +194,7 @@ template<class V, class T> void remove(V& ts, const T& t) { int j = 0; - for (; j < ts.size() && ts[j] != t; j++); + for (; j < ts.size() && ts[j] != t; j++) ; assert(j < ts.size()); for (; j < ts.size()-1; j++) ts[j] = ts[j+1]; ts.pop(); @@ -205,7 +205,7 @@ template<class V, class T> bool find(V& ts, const T& t) { int j = 0; - for (; j < ts.size() && ts[j] != t; j++); + for (; j < ts.size() && ts[j] != t; j++) ; return j < ts.size(); } @@ -251,5 +251,5 @@ template <class T> static inline bool operator >= (const T& x, const T& y) { ret //================================================================================================= -}; +} #endif |