common: prevent warning - expression result unused

This commit is contained in:
Mira Grudzinska 2024-08-22 15:51:17 +02:00 committed by Hermet Park
parent 82c1e68b16
commit 6bb95883e5

View file

@ -147,7 +147,7 @@ struct Text::Impl
auto text = Text::gen().release();
auto dup = text->pImpl;
static_cast<Shape*>(P(shape)->duplicate(dup->shape));
P(shape)->duplicate(dup->shape);
if (loader) {
dup->loader = loader;