aboutsummaryrefslogtreecommitdiff
path: root/build/string-table
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/string-table
parent4cda4b89c16932f02e04c5019a71b659ccf821e6 (diff)
Move map-key from build2 to libbutl, rename multi-index
Diffstat (limited to 'build/string-table')
-rw-r--r--build/string-table4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/string-table b/build/string-table
index a4fae36..0188c62 100644
--- a/build/string-table
+++ b/build/string-table
@@ -9,7 +9,7 @@
#include <string>
#include <unordered_map>
-#include <build/map-key>
+#include <butl/multi-index>
namespace build
{
@@ -71,7 +71,7 @@ namespace build
empty () const {return vec_.empty ();}
private:
- using key_type = map_key<std::string>;
+ using key_type = butl::map_key<std::string>;
using value_type = string_table_element<I, D>;
using map_type = std::unordered_map<key_type, value_type>;
using traits = string_table_traits<D>;