diff options
Diffstat (limited to 'libbuild2/test')
-rw-r--r-- | libbuild2/test/init.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libbuild2/test/init.cxx b/libbuild2/test/init.cxx index 3fb4df6..923f047 100644 --- a/libbuild2/test/init.cxx +++ b/libbuild2/test/init.cxx @@ -202,10 +202,8 @@ namespace build2 // Register target types. // { - auto& t (rs.target_types); - - auto& tt (t.insert<testscript> ()); - t.insert_file ("testscript", tt); + auto& tt (rs.insert_target_type<testscript> ()); + rs.insert_target_type_file ("testscript", tt); } // Register our test running rule. |