diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-07 15:48:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-07 16:52:55 +0200 |
commit | 968d8a7acd6c23078a3ea6936c03be0b45523227 (patch) | |
tree | d7da843d0961b649ff93f6f299b9ce65b1255003 /build2/config | |
parent | 378b2598a305d4e332e52460ca89dd867546a58b (diff) |
Add support for update-for-{test,install} operation aliases
Diffstat (limited to 'build2/config')
-rw-r--r-- | build2/config/init.cxx | 4 | ||||
-rw-r--r-- | build2/config/operation.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/build2/config/init.cxx b/build2/config/init.cxx index 35bc94c..8bbc07e 100644 --- a/build2/config/init.cxx +++ b/build2/config/init.cxx @@ -29,8 +29,8 @@ namespace build2 l5 ([&]{trace << "for " << rs.out_path ();}); - const string& mname (*current_mname); - const string& oname (*current_oname); + const string& mname (current_mname); + const string& oname (current_oname); // Only create the module if we are configuring or creating. This is a // bit tricky since the build2 core may not yet know if this is the diff --git a/build2/config/operation.cxx b/build2/config/operation.cxx index fa7cb9f..d5a1565 100644 --- a/build2/config/operation.cxx +++ b/build2/config/operation.cxx @@ -732,7 +732,7 @@ namespace build2 fail (l) << "invalid module name: " << e.what (); } - current_oname = &empty_string; // Make sure valid. + current_oname = empty_string; // Make sure valid. // Now handle each target in each operation spec. // |