aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/variable.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-11-12 12:20:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-11-12 12:20:34 +0200
commitc0743592bfae808b61a8146fd97af94b50156f0e (patch)
treea1d0b98f24391ec1350be23eefe5ef492fa3c387 /libbuild2/variable.cxx
parent87d871e77649d439b4d62208576239d1341eedef (diff)
Add support for vector<pair<K, V>> variable values
Diffstat (limited to 'libbuild2/variable.cxx')
-rw-r--r--libbuild2/variable.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/libbuild2/variable.cxx b/libbuild2/variable.cxx
index 643a061..546eb91 100644
--- a/libbuild2/variable.cxx
+++ b/libbuild2/variable.cxx
@@ -1523,7 +1523,11 @@ namespace build2
template struct LIBBUILD2_DEFEXPORT value_traits<dir_paths>;
template struct LIBBUILD2_DEFEXPORT value_traits<uint64s>;
- template struct LIBBUILD2_DEFEXPORT value_traits<std::map<string, string>>;
+ template struct LIBBUILD2_DEFEXPORT
+ value_traits<vector<pair<string, string>>>;
+
+ template struct LIBBUILD2_DEFEXPORT
+ value_traits<std::map<string, string>>;
template struct LIBBUILD2_DEFEXPORT
value_traits<std::map<project_name, dir_path>>;