diff options
author | nyamatongwe <unknown> | 2013-01-19 14:38:06 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2013-01-19 14:38:06 +1100 |
commit | 4813d2aa6961aae087cf8c115fd6c88510d40a05 (patch) | |
tree | 560ad5f159c79d16b2e7f9cd2d191c8e442ae376 /src/ViewStyle.h | |
parent | 24ac7c2923e2de7bc3d60679e7b6755f7a7077f3 (diff) | |
download | scintilla-mirror-4813d2aa6961aae087cf8c115fd6c88510d40a05.tar.gz |
Add private copy constructors to prevent copying and avoid warnings.
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r-- | src/ViewStyle.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h index 25467052f..676aee7da 100644 --- a/src/ViewStyle.h +++ b/src/ViewStyle.h @@ -32,6 +32,8 @@ private: int size; int max; + // Private so FontNames objects can not be copied + FontNames(const FontNames &); public: FontNames(); ~FontNames(); |