From 26dd21706edcb63459715dc4e1a078c2a0b9c0de Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 1 May 2014 19:03:13 +0100 Subject: [PATCH] Replace some typedefs with usings --- src/highlighters.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/highlighters.cc b/src/highlighters.cc index e56dd108..8c886278 100644 --- a/src/highlighters.cc +++ b/src/highlighters.cc @@ -19,7 +19,7 @@ namespace Kakoune using namespace std::placeholders; -typedef boost::regex_iterator RegexIterator; +using RegexIterator = boost::regex_iterator; template void highlight_range(DisplayBuffer& display_buffer, @@ -146,7 +146,7 @@ void apply_highlighter(const Context& context, display_buffer.compute_range(); } -typedef std::unordered_map ColorSpec; +using ColorSpec = std::unordered_map; template struct BufferSideCache