diff options
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. // |