aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/regex
diff options
context:
space:
mode:
Diffstat (limited to 'build2/test/script/regex')
-rw-r--r--build2/test/script/regex5
1 files changed, 3 insertions, 2 deletions
diff --git a/build2/test/script/regex b/build2/test/script/regex
index b25c1f1..1170b99 100644
--- a/build2/test/script/regex
+++ b/build2/test/script/regex
@@ -8,8 +8,9 @@
#include <list>
#include <regex>
#include <locale>
+#include <string> // basic_string
#include <cstdint> // uintptr_t
-#include <type_traits> // make_unsigned, is_unsigned
+#include <type_traits> // make_unsigned, enable_if, is_*
#include <unordered_set>
#include <build2/types>
@@ -25,7 +26,7 @@ namespace build2
{
using char_string = std::basic_string<char>;
- enum class char_flags: std::uint16_t
+ enum class char_flags: uint16_t
{
icase = 0x1, // Case-insensitive match.
idot = 0x2, // Invert '.' escaping.