summaryrefslogtreecommitdiff
path: root/goo
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 /goo
parent3caf1a7a54372f74090caf284ddd3e8e94286d49 (diff)
Enable modernize-use-override
not claiming copyright for this since it's a mechanical change
Diffstat (limited to 'goo')
-rw-r--r--goo/JpegWriter.h2
-rw-r--r--goo/NetPBMWriter.h2
-rw-r--r--goo/PNGWriter.h2
-rw-r--r--goo/TiffWriter.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/goo/JpegWriter.h b/goo/JpegWriter.h
index 40de0ec2..b2ce2541 100644
--- a/goo/JpegWriter.h
+++ b/goo/JpegWriter.h
@@ -38,7 +38,7 @@ public:
JpegWriter(int quality, bool progressive, Format format = RGB);
JpegWriter(Format format = RGB);
- ~JpegWriter();
+ ~JpegWriter() override;
void setQuality(int quality);
void setProgressive(bool progressive);
diff --git a/goo/NetPBMWriter.h b/goo/NetPBMWriter.h
index ffdd7e17..36000839 100644
--- a/goo/NetPBMWriter.h
+++ b/goo/NetPBMWriter.h
@@ -34,7 +34,7 @@ public:
enum Format { RGB, MONOCHROME };
NetPBMWriter(Format formatA = RGB);
- ~NetPBMWriter() {};
+ ~NetPBMWriter() override {};
bool init(FILE *f, int width, int height, int hDPI, int vDPI) override;
diff --git a/goo/PNGWriter.h b/goo/PNGWriter.h
index 93f54369..0e0153e3 100644
--- a/goo/PNGWriter.h
+++ b/goo/PNGWriter.h
@@ -37,7 +37,7 @@ public:
enum Format { RGB, RGBA, GRAY, MONOCHROME, RGB48 };
PNGWriter(Format format = RGB);
- ~PNGWriter();
+ ~PNGWriter() override;
void setICCProfile(const char *name, unsigned char *data, int size);
void setSRGBProfile();
diff --git a/goo/TiffWriter.h b/goo/TiffWriter.h
index 9126e884..b0f5ae5b 100644
--- a/goo/TiffWriter.h
+++ b/goo/TiffWriter.h
@@ -36,7 +36,7 @@ public:
enum Format { RGB, RGBA_PREMULTIPLIED, GRAY, MONOCHROME, CMYK, RGB48 };
TiffWriter(Format format = RGB);
- ~TiffWriter();
+ ~TiffWriter() override;
void setCompressionString(const char *compressionStringArg);