aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/AutoComplete.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/AutoComplete.h')
-rw-r--r--src/AutoComplete.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AutoComplete.h b/src/AutoComplete.h
index 205d4e095..17998657b 100644
--- a/src/AutoComplete.h
+++ b/src/AutoComplete.h
@@ -27,7 +27,7 @@ public:
bool ignoreCase;
bool chooseSingle;
- ListBox *lb;
+ std::unique_ptr<ListBox> lb;
Sci::Position posStart;
int startLen;
/// Should autocompletion be canceled if editor's currentPos <= startPos?