diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-04-19 06:38:04 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-04-19 06:38:04 +0200 |
commit | 7a995b778ab86c8ae63ba8f86950fd25e3ab5162 (patch) | |
tree | 4363f39f7ff933a16db2627170f0f8539e84047e /libbuild2/config/functions.cxx | |
parent | 8aeae026d112ff9811a424e31621c05682f4a72e (diff) |
Clarify const-ness issues in configure implementation
Diffstat (limited to 'libbuild2/config/functions.cxx')
-rw-r--r-- | libbuild2/config/functions.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/config/functions.cxx b/libbuild2/config/functions.cxx index 84c1b03..b1a61a2 100644 --- a/libbuild2/config/functions.cxx +++ b/libbuild2/config/functions.cxx @@ -95,7 +95,7 @@ namespace build2 // See save_config() for details. // assert (s->ctx.phase == run_phase::load); - module* mod (s->rw ().find_module<module> (module::name)); + const module* mod (s->find_module<module> (module::name)); if (mod == nullptr) fail << "config.save() called without config module"; |