From eb8f004a4acdb387c3501b039c35c46ae050d723 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 22 Aug 2019 15:32:45 +0300 Subject: [PATCH] Suppress warning "-Weffc++". --HG-- branch : develop --- src/libs/vlayout/vposition.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libs/vlayout/vposition.h b/src/libs/vlayout/vposition.h index b089ad62f..431532503 100644 --- a/src/libs/vlayout/vposition.h +++ b/src/libs/vlayout/vposition.h @@ -53,6 +53,9 @@ struct VPositionData bool isOriginPaperOrientationPortrait{true}; }; +QT_WARNING_PUSH +QT_WARNING_DISABLE_GCC("-Weffc++") + class VPosition { public: @@ -111,6 +114,8 @@ private: void FindBestPosition(); }; +QT_WARNING_POP + //--------------------------------------------------------------------------------------------------------------------- /** * @brief VPosition::FabricGrainline return fabric gainline accoding to paper orientation