Commit e7d8c8b2 authored by Lukáš Tvrdý's avatar Lukáš Tvrdý

Fix performance hint from PVS Studio

V802 On 64-bit platform, structure size can be reduced from 24 to 16 bytes by rearranging the fields according to their sizes in decreasing order. kis_base_iterator.h 28
parent 96b6c29f
......@@ -32,8 +32,8 @@ protected:
m_pixelSize = m_dataManager->pixelSize();
m_writable = _writable;
qint32 m_pixelSize; // bytes per pixel
KisTiledDataManager *m_dataManager;
qint32 m_pixelSize; // bytes per pixel
bool m_writable;
inline void lockTile(KisTileSP &tile) {
if (m_writable)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment