aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/RunStyles.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2013-01-19 14:38:06 +1100
committernyamatongwe <devnull@localhost>2013-01-19 14:38:06 +1100
commita30cba782eca76807bde43f1f693d3f923ce6d8c (patch)
treecf21f399196d4cff783e9649755619b5ebfc6503 /src/RunStyles.h
parent7a767545ea772f9b246e1fe8914226a94291ca61 (diff)
downloadscintilla-mirror-a30cba782eca76807bde43f1f693d3f923ce6d8c.tar.gz
Add private copy constructors to prevent copying and avoid warnings.
Diffstat (limited to 'src/RunStyles.h')
-rw-r--r--src/RunStyles.h2
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();