Fix macOS build that has -Wunused-function as error
Clang may interpret static inline function as unused, although
it should not. Pragma it out for clang.
Fixes: QTBUG-91053
Pick-to: 6.1
Change-Id: I8fd8bec5236752189deff8a2f6ceb62e572dca30
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
| commit | 21ab254164ab0891e12dbd037fc4e163ff9f6e9d |
| parent | 33d47ef27ed26c49abb8cae3e9576defe0ea7e5b |
| author | Tomi Korpipaa <tomi.korpipaa@qt.io> |
| committer | Tomi Korpipaa <tomi.korpipaa@qt.io> |
| commit time | Wed, 10 Feb 2021 12:49:21 +0200 |