aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Style.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Style.h')
-rw-r--r--src/Style.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Style.h b/src/Style.h
index cc9148af6..b3b3852da 100644
--- a/src/Style.h
+++ b/src/Style.h
@@ -33,8 +33,8 @@ struct FontSpecification {
// Just like Font but only has a copy of the FontID so should not delete it
class FontAlias : public Font {
- // Private so FontAlias objects can not be assigned except for intiialization
- FontAlias &operator=(const FontAlias &);
+ // FontAlias objects can not be assigned except for initialization
+ FontAlias &operator=(const FontAlias &) = delete;
public:
FontAlias();
FontAlias(const FontAlias &);