diff options
author | Neil <nyamatongwe@gmail.com> | 2017-04-22 09:16:08 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-04-22 09:16:08 +1000 |
commit | b201e09daf251a0e3e5576b79643f6c4f841a4a9 (patch) | |
tree | bc7d0caf7e5a4d0635b7ee7ba593f4ee830a6072 /src/Document.h | |
parent | 0801e0084a5cf87f424235d5947f5158474d5da4 (diff) | |
download | scintilla-mirror-b201e09daf251a0e3e5576b79643f6c4f841a4a9.tar.gz |
Using unique_ptr to simplify ownership of images, case folder, and list box.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h index 788f9bd33..62e26c6fc 100644 --- a/src/Document.h +++ b/src/Document.h @@ -210,7 +210,7 @@ private: int refCount; CellBuffer cb; CharClassify charClass; - CaseFolder *pcf; + std::unique_ptr<CaseFolder> pcf; Sci::Position endStyled; int styleClock; int enteredModification; |