Added missing includes (algorithm).
authorAina Niemetz <aina.niemetz@gmail.com>
Fri, 25 Aug 2017 20:29:04 +0000 (13:29 -0700)
committerAina Niemetz <aina.niemetz@gmail.com>
Fri, 25 Aug 2017 21:59:10 +0000 (14:59 -0700)
Algorithm was previously removed from src/util/regexp.h which broke
compilation on some platforms.

src/parser/smt1/Smt1.g
src/parser/smt2/smt2.cpp
src/parser/tptp/tptp.cpp

index b30922d58901857ea5953ae7598c00e96d44ff8e..93169504d03c21a0842a6b572fbc383208a9ce0e 100644 (file)
@@ -71,6 +71,7 @@ options {
 // files. See the documentation in "parser/antlr_undefines.h" for more details.
 #include "parser/antlr_undefines.h"
 
+#include <algorithm>
 #include <memory>
 #include <stdint.h>
 
index 674dbe49d1995f1e2162661d682ffe91625f134b..de3c9aa627e0d952055eb6033ba4a51377ef4f54 100644 (file)
@@ -24,6 +24,8 @@
 #include "smt/command.h"
 #include "util/bitvector.h"
 
+#include <algorithm>
+
 // ANTLR defines these, which is really bad!
 #undef true
 #undef false
index 64eeddd2f25dd371258dc2e2bc83805aadf69ed6..a984fe16f19bb59dfb9e02d161a10a3222994cf2 100644 (file)
@@ -20,6 +20,8 @@
 #include "expr/type.h"
 #include "parser/parser.h"
 
+#include <algorithm>
+
 // ANTLR defines these, which is really bad!
 #undef true
 #undef false