The use of a unique_ptr member requires that the destructor be out-of-line, since the payload is only forward-declared in the header file. This is good hygiene, so do it for CompositionWidget, too. Add 'explicit' and missing = nullptr to both constructors as a drive-by. Change-Id: Ied1c89864f90d3f2c13fb4e9a8bbbe2e6fd6f1d7 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> |
||
|---|---|---|
| .. | ||
| composition.cpp | ||
| composition.h | ||
| composition.html | ||
| composition.pro | ||
| composition.qrc | ||
| flower.jpg | ||
| flower_alpha.jpg | ||
| main.cpp | ||