diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-02 10:47:47 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-03 11:58:08 +0200 |
commit | c82f73666d87549e5884ddcd253ec3561d840b9b (patch) | |
tree | 96eff624e0add180490d014abce92fccf9542f5b /src/widgets/kernel | |
parent | 889d40ebe2d9d0e92caea2749608720f7c088173 (diff) |
Replace Q_DECL_UNUSED with [[maybe_unused]]
Use C++17 attribute directly
Change-Id: Id853e7a5117065e4adb549f81303c1820fe198ce
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets/kernel')
-rw-r--r-- | src/widgets/kernel/qlayoutitem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/kernel/qlayoutitem.h b/src/widgets/kernel/qlayoutitem.h index 405627ccef..a0d24ccbe4 100644 --- a/src/widgets/kernel/qlayoutitem.h +++ b/src/widgets/kernel/qlayoutitem.h @@ -49,7 +49,7 @@ QT_BEGIN_NAMESPACE -Q_DECL_UNUSED static const int QLAYOUTSIZE_MAX = INT_MAX/256/16; +[[maybe_unused]] static const int QLAYOUTSIZE_MAX = INT_MAX/256/16; class QLayout; class QLayoutItem; |