summaryrefslogtreecommitdiff
path: root/src/buffer_utils.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-03-01 12:03:08 +0000
committerMaxime Coste <frrrwww@gmail.com>2015-03-01 12:03:08 +0000
commit98972c18b7037ee6c4775b63ba38c9aa8bdb28fe (patch)
tree48f5ec1949b576b92f2455fa47766e74657b8e75 /src/buffer_utils.cc
parent092dcd174f76bc31a43e03eb4caef4d99cae3aa6 (diff)
rename StringStorage to StringData
Diffstat (limited to 'src/buffer_utils.cc')
-rw-r--r--src/buffer_utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer_utils.cc b/src/buffer_utils.cc
index c768a9eb..88f7d4f8 100644
--- a/src/buffer_utils.cc
+++ b/src/buffer_utils.cc
@@ -66,7 +66,7 @@ Buffer* create_buffer_from_data(StringView data, StringView name,
while (line_end < data.end() and *line_end != '\r' and *line_end != '\n')
++line_end;
- lines.emplace_back(StringStorage::create({pos, line_end}, '\n'));
+ lines.emplace_back(StringData::create({pos, line_end}, '\n'));
if (line_end+1 != data.end() and *line_end == '\r' and *(line_end+1) == '\n')
{