Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QPaintDevice: inline keyword only on a method's declaration in-class
Putting `inline` on the definition and not the declaration could cause some issues with some compilers, e.g. MinGW[1]. Putting `inline` on a method's declaration and definition is redundant; I am not sure if that could cause an issue with MinGW, but just in-class on the declaration is enough/more-idiomatic. Amends a5953d2. Found in API review. [1] https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews#Methods item 1.2 Pick-to: 6.8 Change-Id: Ieaba422670261330b5558f60dce2fcca2cb2723b Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
- Loading branch information