summaryrefslogtreecommitdiff
path: root/fofi
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2019-12-02 19:36:51 +0100
committerAlbert Astals Cid <aacid@kde.org>2019-12-02 19:36:51 +0100
commit53a4fbbbbbcb5d2a48a140b70af9d3177ebe02c2 (patch)
tree3bcc71d9694f306ecb169444d060ddf888f8b232 /fofi
parent3caf1a7a54372f74090caf284ddd3e8e94286d49 (diff)
Enable modernize-use-override
not claiming copyright for this since it's a mechanical change
Diffstat (limited to 'fofi')
-rw-r--r--fofi/FoFiIdentifier.cc6
-rw-r--r--fofi/FoFiTrueType.h2
-rw-r--r--fofi/FoFiType1.h2
-rw-r--r--fofi/FoFiType1C.h2
4 files changed, 6 insertions, 6 deletions
diff --git a/fofi/FoFiIdentifier.cc b/fofi/FoFiIdentifier.cc
index 4f5e8ce7..d70d3cae 100644
--- a/fofi/FoFiIdentifier.cc
+++ b/fofi/FoFiIdentifier.cc
@@ -72,7 +72,7 @@ class MemReader: public Reader {
public:
static MemReader *make(const char *bufA, int lenA);
- ~MemReader();
+ ~MemReader() override;
int getByte(int pos) override;
bool getU16BE(int pos, int *val) override;
bool getU32BE(int pos, unsigned int *val) override;
@@ -167,7 +167,7 @@ class FileReader: public Reader {
public:
static FileReader *make(const char *fileName);
- ~FileReader();
+ ~FileReader() override;
int getByte(int pos) override;
bool getU16BE(int pos, int *val) override;
bool getU32BE(int pos, unsigned int *val) override;
@@ -290,7 +290,7 @@ class StreamReader: public Reader {
public:
static StreamReader *make(int (*getCharA)(void *data), void *dataA);
- ~StreamReader();
+ ~StreamReader() override;
int getByte(int pos) override;
bool getU16BE(int pos, int *val) override;
bool getU32BE(int pos, unsigned int *val) override;
diff --git a/fofi/FoFiTrueType.h b/fofi/FoFiTrueType.h
index c14a831b..d3246be2 100644
--- a/fofi/FoFiTrueType.h
+++ b/fofi/FoFiTrueType.h
@@ -50,7 +50,7 @@ public:
// Create a FoFiTrueType object from a file on disk.
static FoFiTrueType *load(const char *fileName, int faceIndexA=0);
- ~FoFiTrueType();
+ ~FoFiTrueType() override;
// Returns true if this an OpenType font containing CFF data, false
// if it's a TrueType font (or OpenType font with TrueType data).
diff --git a/fofi/FoFiType1.h b/fofi/FoFiType1.h
index b8d3a439..b541d4fb 100644
--- a/fofi/FoFiType1.h
+++ b/fofi/FoFiType1.h
@@ -38,7 +38,7 @@ public:
// Create a FoFiType1 object from a file on disk.
static FoFiType1 *load(const char *fileName);
- ~FoFiType1();
+ ~FoFiType1() override;
// Return the font name.
const char *getName();
diff --git a/fofi/FoFiType1C.h b/fofi/FoFiType1C.h
index ff69651a..5449dcd0 100644
--- a/fofi/FoFiType1C.h
+++ b/fofi/FoFiType1C.h
@@ -149,7 +149,7 @@ public:
// Create a FoFiType1C object from a file on disk.
static FoFiType1C *load(const char *fileName);
- virtual ~FoFiType1C();
+ ~FoFiType1C() override;
// Return the font name.
const char *getName() const;