aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/config/module.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-04-19 06:38:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-04-19 06:38:04 +0200
commit7a995b778ab86c8ae63ba8f86950fd25e3ab5162 (patch)
tree4363f39f7ff933a16db2627170f0f8539e84047e /libbuild2/config/module.hxx
parent8aeae026d112ff9811a424e31621c05682f4a72e (diff)
Clarify const-ness issues in configure implementation
Diffstat (limited to 'libbuild2/config/module.hxx')
-rw-r--r--libbuild2/config/module.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/config/module.hxx b/libbuild2/config/module.hxx
index 82b79be..8d3ff67 100644
--- a/libbuild2/config/module.hxx
+++ b/libbuild2/config/module.hxx
@@ -160,7 +160,7 @@ namespace build2
save_module (scope&, const char*, int);
const saved_variable*
- find_variable (const variable& var)
+ find_variable (const variable& var) const
{
auto i (saved_modules.find_sup (var.name));
if (i != saved_modules.end ())