aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/test/init.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/test/init.cxx')
-rw-r--r--libbuild2/test/init.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/test/init.cxx b/libbuild2/test/init.cxx
index af112fb..3bcbe96 100644
--- a/libbuild2/test/init.cxx
+++ b/libbuild2/test/init.cxx
@@ -214,8 +214,8 @@ namespace build2
{
default_rule& dr (m);
- rs.rules.insert<target> (perform_test_id, "test", dr);
- rs.rules.insert<alias> (perform_test_id, "test", dr);
+ rs.insert_rule<target> (perform_test_id, "test", dr);
+ rs.insert_rule<alias> (perform_test_id, "test", dr);
}
return true;