aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Style.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-04-19 17:44:09 +1000
committerNeil <nyamatongwe@gmail.com>2017-04-19 17:44:09 +1000
commitd9a4e803d7b5e9fde3009052653ec3fdf77c5c09 (patch)
tree45858426901e942a5f1cd8b1f4a5805902e125c0 /src/Style.h
parentc085f3f8458110eca0874343b45b34acc9827631 (diff)
downloadscintilla-mirror-d9a4e803d7b5e9fde3009052653ec3fdf77c5c09.tar.gz
Use =delete for unwanted functions.
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 adf5010c7..c0696a770 100644
--- a/src/Style.h
+++ b/src/Style.h
@@ -33,10 +33,10 @@ struct FontSpecification {
// Just like Font but only has a copy of the FontID so should not delete it
class FontAlias : public Font {
- // FontAlias objects can not be assigned except for initialization
- FontAlias &operator=(const FontAlias &) = delete;
public:
FontAlias();
+ // FontAlias objects can not be assigned except for initialization
+ FontAlias &operator=(const FontAlias &) = delete;
FontAlias(const FontAlias &);
virtual ~FontAlias();
void MakeAlias(Font &fontOrigin);