aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/variable.ixx16
1 files changed, 8 insertions, 8 deletions
diff --git a/libbuild2/variable.ixx b/libbuild2/variable.ixx
index 7cafd89..c9dfad4 100644
--- a/libbuild2/variable.ixx
+++ b/libbuild2/variable.ixx
@@ -905,14 +905,6 @@ namespace build2
// variable_pool
//
- inline const variable& variable_pool::
- operator[] (const string& n) const
- {
- const variable* r (find (n));
- assert (r != nullptr);
- return *r;
- }
-
inline const variable* variable_pool::
find (const string& n) const
{
@@ -933,6 +925,14 @@ namespace build2
return nullptr;
}
+ inline const variable& variable_pool::
+ operator[] (const string& n) const
+ {
+ const variable* r (find (n));
+ assert (r != nullptr);
+ return *r;
+ }
+
// variable_map
//
inline void variable_map::