diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-26 15:40:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-26 15:40:29 +0200 |
commit | e1d2e3b63934c1e193429f1d6c4e04abc0e85d56 (patch) | |
tree | ff542da6cc5d7d1b8202b5ce9cd3573211024b94 /build/prefix-map.txx | |
parent | cd9a4ea692ba87aa03a80489bf03736e713722c7 (diff) |
Support for scope parents, initial variable support
Diffstat (limited to 'build/prefix-map.txx')
-rw-r--r-- | build/prefix-map.txx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build/prefix-map.txx b/build/prefix-map.txx index 0da911d..a8bf028 100644 --- a/build/prefix-map.txx +++ b/build/prefix-map.txx @@ -6,7 +6,7 @@ namespace build { template <typename M> auto prefix_map_common<M>:: - find (const key_type& k) -> std::pair<iterator, iterator> + find_prefix (const key_type& k) -> std::pair<iterator, iterator> { std::pair<iterator, iterator> r; r.first = this->lower_bound (k); @@ -24,7 +24,8 @@ namespace build template <typename M> auto prefix_map_common<M>:: - find (const key_type& k) const -> std::pair<const_iterator, const_iterator> + find_prefix (const key_type& k) const -> + std::pair<const_iterator, const_iterator> { std::pair<const_iterator, const_iterator> r; r.first = this->lower_bound (k); |