From 5173dad47089d37c0fa57a2ef32ce4df9c3e5556 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 12 Sep 2015 10:51:16 +0100 Subject: [PATCH] Add some missing memory domains --- src/display_buffer.hh | 4 ++-- src/file.cc | 2 +- src/ncurses_ui.cc | 2 +- src/selection.hh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/display_buffer.hh b/src/display_buffer.hh index 8e543284..97b717b1 100644 --- a/src/display_buffer.hh +++ b/src/display_buffer.hh @@ -92,7 +92,7 @@ private: String m_text; }; -using AtomList = Vector; +using AtomList = Vector; class DisplayLine : public UseMemoryDomain { @@ -143,7 +143,7 @@ private: class DisplayBuffer : public UseMemoryDomain { public: - using LineList = Vector; + using LineList = Vector; DisplayBuffer() {} LineList& lines() { return m_lines; } diff --git a/src/file.cc b/src/file.cc index 516a86c3..65d01912 100644 --- a/src/file.cc +++ b/src/file.cc @@ -418,7 +418,7 @@ Vector complete_command(StringView prefix, ByteCount cursor_pos) TimeSpec mtime = {}; Vector commands; }; - static UnorderedMap command_cache; + static UnorderedMap command_cache; Vector res; for (auto dir : split(getenv("PATH"), ':')) diff --git a/src/ncurses_ui.cc b/src/ncurses_ui.cc index 75b9c922..8c402fab 100644 --- a/src/ncurses_ui.cc +++ b/src/ncurses_ui.cc @@ -204,7 +204,7 @@ static int nc_color(Color color) static int get_color_pair(const Face& face) { using ColorPair = std::pair; - static UnorderedMap colorpairs; + static UnorderedMap colorpairs; static int next_pair = 1; ColorPair colors{face.fg, face.bg}; diff --git a/src/selection.hh b/src/selection.hh index 2f41b06e..26a7865c 100644 --- a/src/selection.hh +++ b/src/selection.hh @@ -6,7 +6,7 @@ namespace Kakoune { -using CaptureList = Vector; +using CaptureList = Vector; // A selection is a Selection, associated with a CaptureList struct Selection