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/RunStyles.h | |
parent | 24ac7c2923e2de7bc3d60679e7b6755f7a7077f3 (diff) | |
download | scintilla-mirror-4813d2aa6961aae087cf8c115fd6c88510d40a05.tar.gz |
Add private copy constructors to prevent copying and avoid warnings.
Diffstat (limited to 'src/RunStyles.h')
-rw-r--r-- | src/RunStyles.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/RunStyles.h b/src/RunStyles.h index a3efd93c9..4e90969a2 100644 --- a/src/RunStyles.h +++ b/src/RunStyles.h @@ -23,6 +23,8 @@ private: void RemoveRun(int run); void RemoveRunIfEmpty(int run); void RemoveRunIfSameAsPrevious(int run); + // Private so RunStyles objects can not be copied + RunStyles(const RunStyles &); public: RunStyles(); ~RunStyles(); |