aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-04-29 11:52:49 +1000
committerNeil <nyamatongwe@gmail.com>2017-04-29 11:52:49 +1000
commit102a874a3a8ca376e08d1319b36833297bea39ae (patch)
tree1ca446e24494a212cce099f3f6b479109025c94f /src/Document.h
parent1cc39b2c7bc22ae8aaddefd382c621474732b8c1 (diff)
downloadscintilla-mirror-102a874a3a8ca376e08d1319b36833297bea39ae.tar.gz
Use std::unique_ptr, std::vector, and move construction to simplify UndoHistory
and make it easier to modify. Remove out of date warning suppression.
Diffstat (limited to 'src/Document.h')
-rw-r--r--src/Document.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h
index 62e26c6fc..77686f78c 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -513,7 +513,7 @@ public:
position(act.position),
length(act.lenData),
linesAdded(linesAdded_),
- text(act.data),
+ text(act.data.get()),
line(0),
foldLevelNow(0),
foldLevelPrev(0),