aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/module.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/module.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/module.hxx')
-rw-r--r--libbuild2/module.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/libbuild2/module.hxx b/libbuild2/module.hxx
index 770e694..8223bae 100644
--- a/libbuild2/module.hxx
+++ b/libbuild2/module.hxx
@@ -4,8 +4,6 @@
#ifndef LIBBUILD2_MODULE_HXX
#define LIBBUILD2_MODULE_HXX
-#include <map>
-
#include <libbuild2/types.hxx>
#include <libbuild2/forward.hxx>
#include <libbuild2/utility.hxx>
@@ -275,7 +273,7 @@ namespace build2
// A NULL entry for the main module indicates that a module library was not
// found.
//
- using loaded_module_map = std::map<string, const module_functions*>;
+ using loaded_module_map = map<string, const module_functions*>;
// The loaded_modules map is locked per top-level (as opposed to nested)
// context (see context.hxx for details).