more final fixes

This commit is contained in:
Ingo Weyrich
2020-01-24 14:53:41 +01:00
parent 9a4ade6f20
commit 0d2ffb5e61
13 changed files with 42 additions and 42 deletions

View File

@@ -658,7 +658,7 @@ public:
/* If any of the required allocation fails, "width" and "height" are set to -1, and all remaining buffer are freed
* Can be safely used to reallocate an existing image */
void allocate (int W, int H) override final
void allocate (int W, int H) final
{
if (W == width && H == height) {
@@ -746,7 +746,7 @@ public:
}
}
void rotate (int deg) override final
void rotate (int deg) final
{
if (deg == 90) {
@@ -873,7 +873,7 @@ public:
}
}
void hflip () override final
void hflip () final
{
int width2 = width / 2;
@@ -905,7 +905,7 @@ public:
#endif
}
void vflip () override final
void vflip () final
{
int height2 = height / 2;
@@ -989,7 +989,7 @@ public:
}
}
void computeHistogramAutoWB (double &avg_r, double &avg_g, double &avg_b, int &n, LUTu &histogram, const int compression) const override final
void computeHistogramAutoWB (double &avg_r, double &avg_g, double &avg_b, int &n, LUTu &histogram, const int compression) const final
{
histogram.clear();
avg_r = avg_g = avg_b = 0.;
@@ -1328,7 +1328,7 @@ public:
* If any of the required allocation fails, "width" and "height" are set to -1, and all remaining buffer are freed
* Can be safely used to reallocate an existing image or to free up it's memory with "allocate (0,0);"
*/
void allocate (int W, int H) override final
void allocate (int W, int H) final
{
if (W == width && H == height) {
@@ -1382,7 +1382,7 @@ public:
memcpy (dest->data, data, 3 * width * height * sizeof(T));
}
void rotate (int deg) override final
void rotate (int deg) final
{
if (deg == 90) {
@@ -1516,7 +1516,7 @@ public:
}
}
void hflip () override final
void hflip () final
{
int width2 = width / 2;
@@ -1552,7 +1552,7 @@ public:
}
}
void vflip () override final
void vflip () final
{
AlignedBuffer<T> lBuffer(3 * width);
@@ -1619,7 +1619,7 @@ public:
}
}
void computeHistogramAutoWB (double &avg_r, double &avg_g, double &avg_b, int &n, LUTu &histogram, const int compression) const override final
void computeHistogramAutoWB (double &avg_r, double &avg_g, double &avg_b, int &n, LUTu &histogram, const int compression) const final
{
histogram.clear();
avg_r = avg_g = avg_b = 0.;