aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/config/utility.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-05-23 13:09:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-05-23 13:09:51 +0200
commitb7f6c386e0396bd242d0ec42f820db4ea0f6760b (patch)
tree873b7deac298b64e7cd41b975adf57cc97075e72 /libbuild2/config/utility.hxx
parent0347acdf4c96c2d78d173c84adae99187887be62 (diff)
Add config::origin(const variable&) overload
Diffstat (limited to 'libbuild2/config/utility.hxx')
-rw-r--r--libbuild2/config/utility.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbuild2/config/utility.hxx b/libbuild2/config/utility.hxx
index 5a00d00..050339a 100644
--- a/libbuild2/config/utility.hxx
+++ b/libbuild2/config/utility.hxx
@@ -517,6 +517,9 @@ namespace build2
LIBBUILD2_SYMEXPORT pair<variable_origin, lookup>
origin (const scope& rs, const string& name);
+
+ LIBBUILD2_SYMEXPORT pair<variable_origin, lookup>
+ origin (const scope& rs, const variable&);
}
}