From 88b0aed33748ba4a3b3635063999cbf98a434672 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 3 Jun 2022 10:41:00 +0200 Subject: Add another variable_map::insert() overload --- libbuild2/variable.hxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libbuild2/variable.hxx b/libbuild2/variable.hxx index ae3c9ab..d00243e 100644 --- a/libbuild2/variable.hxx +++ b/libbuild2/variable.hxx @@ -1276,6 +1276,12 @@ namespace build2 } const variable& + insert (string name, const value_type* type) + { + return insert (move (name), type, nullptr, nullptr).first; + } + + const variable& insert (string name, const value_type* type, bool overridable, -- cgit v1.1