aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/AutoComplete.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-04-22 09:16:08 +1000
committerNeil <nyamatongwe@gmail.com>2017-04-22 09:16:08 +1000
commitb201e09daf251a0e3e5576b79643f6c4f841a4a9 (patch)
treebc7d0caf7e5a4d0635b7ee7ba593f4ee830a6072 /src/AutoComplete.h
parent0801e0084a5cf87f424235d5947f5158474d5da4 (diff)
downloadscintilla-mirror-b201e09daf251a0e3e5576b79643f6c4f841a4a9.tar.gz
Using unique_ptr to simplify ownership of images, case folder, and list box.
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?