diff options
Diffstat (limited to 'src/RunStyles.h')
-rw-r--r-- | src/RunStyles.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/RunStyles.h b/src/RunStyles.h index 7c5d85ee2..bc5213c5a 100644 --- a/src/RunStyles.h +++ b/src/RunStyles.h @@ -25,8 +25,9 @@ private: void RemoveRunIfSameAsPrevious(int run); public: RunStyles(); - // Deleted so RunStyles objects can not be copied + // Deleted so RunStyles objects can not be copied. RunStyles(const RunStyles &) = delete; + void operator=(const RunStyles &) = delete; ~RunStyles(); int Length() const; int ValueAt(int position) const; |