diff --git a/lib/libimhex/source/providers/provider.cpp b/lib/libimhex/source/providers/provider.cpp index fe69b93a8..f4ea81282 100644 --- a/lib/libimhex/source/providers/provider.cpp +++ b/lib/libimhex/source/providers/provider.cpp @@ -161,7 +161,7 @@ namespace hex::prv { Overlay *Provider::newOverlay() { - return this->m_overlays.emplace_back().get(); + return this->m_overlays.emplace_back(std::make_unique()).get(); } void Provider::deleteOverlay(Overlay *overlay) {