diff --git a/src/Plugins/TGAImporter/TGAImporter.h b/src/Plugins/TGAImporter/TGAImporter.h index 279596689..cd3ad3ad1 100644 --- a/src/Plugins/TGAImporter/TGAImporter.h +++ b/src/Plugins/TGAImporter/TGAImporter.h @@ -37,7 +37,6 @@ class TGAImporter: public AbstractImporter { inline size_t image2DCount() const { return _image ? 1 : 0; } inline std::shared_ptr image2D(size_t id); - private: #pragma pack(1) struct Header { GLbyte identsize; /**< @brief Size of ID field that follows header (0) */ @@ -55,6 +54,7 @@ class TGAImporter: public AbstractImporter { }; #pragma pack(8) + private: std::shared_ptr _image; };