summaryrefslogtreecommitdiff
path: root/src/containers.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2016-03-12 15:27:54 +0000
committerMaxime Coste <mawww@kakoune.org>2017-07-19 08:47:14 +0200
commit7a79cbbc811a643ef193de0790609cd7bfea61fc (patch)
tree051748930a03aab4967ee94ebc50d5a3846f5934 /src/containers.hh
parentfbffd86f85445623a6a8981a93d8a9f763d98af7 (diff)
Migrate code to c++14
Diffstat (limited to 'src/containers.hh')
-rw-r--r--src/containers.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/containers.hh b/src/containers.hh
index e91f29a0..c4fd379b 100644
--- a/src/containers.hh
+++ b/src/containers.hh
@@ -129,7 +129,7 @@ struct TransformView
using ContainerIt = IteratorOf<Container>;
struct Iterator : std::iterator<std::forward_iterator_tag,
- typename std::remove_reference<TransformedResult<ContainerIt, Transform>>::type>
+ std::remove_reference_t<TransformedResult<ContainerIt, Transform>>>
{
Iterator(const TransformView& view, ContainerIt it)
: m_it{std::move(it)}, m_view{view} {}