diff --git a/src/AppGLFW.cpp b/src/AppGLFW.cpp index e5f2da0..351569e 100644 --- a/src/AppGLFW.cpp +++ b/src/AppGLFW.cpp @@ -207,6 +207,6 @@ void pixelarium::ui::AppGLFW::LoadImageProt() { this->logger_.Debug(std::format("{}: Creating image {}", __FUNCTION__, p)); - last_id = image_view_model_->AddImage(std::make_unique(p)); + image_view_model_->AddImage(std::move(std::make_unique(p))); } }