Get rid of some explicit new allocation

This commit is contained in:
2023-06-17 20:32:58 +02:00
parent 31cf1ee2b1
commit 7e39304799
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -58,8 +58,8 @@ protected:
double m_max[4] = {0.0};
double m_mad[4] = {0.0};
};
std::unique_ptr<PixelType> m_pixels;
std::unique_ptr<PixelType> m_original;
std::unique_ptr<PixelType[]> m_pixels;
std::unique_ptr<PixelType[]> m_original;
uint32_t m_width = 0;
uint32_t m_height = 0;
uint32_t m_channels = 0;