aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/EditView.cxx')
-rw-r--r--src/EditView.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx
index 8db21d5d9..d4cdf4dc8 100644
--- a/src/EditView.cxx
+++ b/src/EditView.cxx
@@ -227,7 +227,7 @@ bool EditView::ClearTabstops(Sci::Line line) {
bool EditView::AddTabstop(Sci::Line line, int x) {
if (!ldTabstops) {
- ldTabstops.reset(new LineTabstops());
+ ldTabstops = std::make_unique<LineTabstops>();
}
LineTabstops *lt = static_cast<LineTabstops *>(ldTabstops.get());
return lt && lt->AddTabstop(line, x);