diff options
author | Neil <nyamatongwe@gmail.com> | 2017-04-09 16:51:46 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-04-09 16:51:46 +1000 |
commit | 1b763e30f00b6f03d506bf1e1fa0c6cb5264205e (patch) | |
tree | 0366173a7fa48aef3c77734e10b7c972b4adef9f /src/Style.h | |
parent | 3fd9e81391a32f703b42f096d4d7e4195c37ade7 (diff) | |
download | scintilla-mirror-1b763e30f00b6f03d506bf1e1fa0c6cb5264205e.tar.gz |
Modernise ViewStyle with vector, unique_ptr, any_of, and method deletion.
Diffstat (limited to 'src/Style.h')
-rw-r--r-- | src/Style.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Style.h b/src/Style.h index cc9148af6..b3b3852da 100644 --- a/src/Style.h +++ b/src/Style.h @@ -33,8 +33,8 @@ struct FontSpecification { // Just like Font but only has a copy of the FontID so should not delete it class FontAlias : public Font { - // Private so FontAlias objects can not be assigned except for intiialization - FontAlias &operator=(const FontAlias &); + // FontAlias objects can not be assigned except for initialization + FontAlias &operator=(const FontAlias &) = delete; public: FontAlias(); FontAlias(const FontAlias &); |