aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-01-28 08:11:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-01-28 08:11:16 +0200
commitc0105aad0074aee0efb3ba41f8132496412f8790 (patch)
tree30fe24cfe2e63c7cacdd7d45d875ca75f35bede2 /libbuild2/test
parent36fa3bc49a739a3bb1212a1b37fd2c817d4ee1dc (diff)
Use scope::insert_rule()
Diffstat (limited to 'libbuild2/test')
-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;