From 67d799852492743a93a464002395ccb624514fb8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 30 Jan 2021 11:25:42 +0200 Subject: Add std::{map, multimap} to types.hxx Seeing that std::map is becoming a common Buildfile variable type. --- libbuild2/scope.hxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libbuild2/scope.hxx') diff --git a/libbuild2/scope.hxx b/libbuild2/scope.hxx index d441267..bd82853 100644 --- a/libbuild2/scope.hxx +++ b/libbuild2/scope.hxx @@ -4,7 +4,6 @@ #ifndef LIBBUILD2_SCOPE_HXX #define LIBBUILD2_SCOPE_HXX -#include #include #include @@ -27,7 +26,7 @@ namespace build2 { class dir; - using subprojects = std::map; + using subprojects = map; LIBBUILD2_SYMEXPORT ostream& operator<< (ostream&, const subprojects&); // Print as name@dir sequence. @@ -416,8 +415,7 @@ namespace build2 function post; }; - using operation_callback_map = std::multimap; + using operation_callback_map = multimap; operation_callback_map operation_callbacks; -- cgit v1.1