aboutsummaryrefslogtreecommitdiff
path: root/build/target
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-06-18 12:32:55 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-06-18 12:32:55 +0200
commit28c82c861e38fe05a25e916563e0551ed8fce91e (patch)
tree0db8852340a2aa98053b237917e2dce1c4343f56 /build/target
parent4cda4b89c16932f02e04c5019a71b659ccf821e6 (diff)
Move map-key from build2 to libbutl, rename multi-index
Diffstat (limited to 'build/target')
-rw-r--r--build/target6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/target b/build/target
index 06aa227..d12a8e5 100644
--- a/build/target
+++ b/build/target
@@ -16,10 +16,10 @@
#include <utility> // move()
#include <iterator>
-#include <butl/utility> // compare_c_string
+#include <butl/utility> // compare_c_string
+#include <butl/multi-index> // map_iterator_adapter
#include <build/path>
-#include <build/map-key> // map_iterator_adapter
#include <build/timestamp>
#include <build/name>
#include <build/variable>
@@ -394,7 +394,7 @@ namespace build
struct target_set
{
typedef std::map<target_key, std::unique_ptr<target>> map;
- typedef map_iterator_adapter<map::const_iterator> iterator;
+ typedef butl::map_iterator_adapter<map::const_iterator> iterator;
iterator
find (const target_key& k, tracer& trace) const;