aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/RunStyles.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/RunStyles.h')
-rw-r--r--src/RunStyles.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/RunStyles.h b/src/RunStyles.h
index b096ad800..7c5d85ee2 100644
--- a/src/RunStyles.h
+++ b/src/RunStyles.h
@@ -23,10 +23,10 @@ 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();
+ // Deleted so RunStyles objects can not be copied
+ RunStyles(const RunStyles &) = delete;
~RunStyles();
int Length() const;
int ValueAt(int position) const;