Get rid of some explicit new allocation
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user