summaryrefslogtreecommitdiff
path: root/src/display_buffer.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-01-12 13:58:41 +0000
committerMaxime Coste <frrrwww@gmail.com>2015-01-12 13:58:41 +0000
commitda562e03a0126adf60d84682f5892b1f610a6ba5 (patch)
treee938413b8f25f70562f93c60e7afe95ee82c473c /src/display_buffer.hh
parent83d0813b0ffc8f329a214b533467c761d734e0c1 (diff)
replace all std::vector with Vector
Diffstat (limited to 'src/display_buffer.hh')
-rw-r--r--src/display_buffer.hh7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/display_buffer.hh b/src/display_buffer.hh
index 83ba7d6b..1ddb9f44 100644
--- a/src/display_buffer.hh
+++ b/src/display_buffer.hh
@@ -4,8 +4,7 @@
#include "face.hh"
#include "coord.hh"
#include "string.hh"
-
-#include <vector>
+#include "vector.hh"
namespace Kakoune
{
@@ -81,7 +80,7 @@ private:
};
using BufferRange = std::pair<ByteCoord, ByteCoord>;
-using AtomList = std::vector<DisplayAtom>;
+using AtomList = Vector<DisplayAtom>;
class DisplayLine
{
@@ -127,7 +126,7 @@ private:
class DisplayBuffer
{
public:
- using LineList = std::vector<DisplayLine>;
+ using LineList = Vector<DisplayLine>;
DisplayBuffer() {}
LineList& lines() { return m_lines; }