aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/function.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-01-30 11:25:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-01-30 11:25:42 +0200
commit67d799852492743a93a464002395ccb624514fb8 (patch)
treed46193a6c13f9cd64f9ff545b8b1f5fc441bab00 /libbuild2/function.hxx
parentf6319b258bb478e19d4a17852a8406e6b1119b87 (diff)
Add std::{map, multimap} to types.hxx
Seeing that std::map is becoming a common Buildfile variable type.
Diffstat (limited to 'libbuild2/function.hxx')
-rw-r--r--libbuild2/function.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbuild2/function.hxx b/libbuild2/function.hxx
index 8fdf8f4..6654257 100644
--- a/libbuild2/function.hxx
+++ b/libbuild2/function.hxx
@@ -4,7 +4,6 @@
#ifndef LIBBUILD2_FUNCTION_HXX
#define LIBBUILD2_FUNCTION_HXX
-#include <map>
#include <utility> // index_sequence
#include <type_traits> // aligned_storage
@@ -196,7 +195,7 @@ namespace build2
class LIBBUILD2_SYMEXPORT function_map
{
public:
- using map_type = std::map<string, function_overloads>;
+ using map_type = map<string, function_overloads>;
using iterator = map_type::iterator;
using const_iterator = map_type::const_iterator;