aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-03-31 13:19:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-03-31 13:19:29 +0200
commit0e0a5903b7b7a03b500d40a10baf64a4bd77d0bd (patch)
tree55208393142484380abcd07f1edf84371e6d4910
parent05135e5f7bd152db293bbe67f394bb58309856e9 (diff)
Add missing init_process() call in regex unit test
-rw-r--r--libbuild2/script/regex.test.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/script/regex.test.cxx b/libbuild2/script/regex.test.cxx
index 9ec2432..6659d39 100644
--- a/libbuild2/script/regex.test.cxx
+++ b/libbuild2/script/regex.test.cxx
@@ -4,6 +4,9 @@
#include <regex>
#include <type_traits> // is_*
+#include <libbuild2/types.hxx>
+#include <libbuild2/utility.hxx>
+
#include <libbuild2/script/regex.hxx>
#undef NDEBUG
@@ -15,6 +18,8 @@ using namespace build2::script::regex;
int
main ()
{
+ build2::init_process ();
+
using lc = line_char;
using ls = line_string;
using lr = line_regex;