1
0
mirror of synced 2025-01-18 09:04:52 +01:00

fix: Crash when using provider overlays

This commit is contained in:
WerWolv 2023-09-03 10:26:25 +02:00
parent be3ac26306
commit eba8c82699

View File

@ -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<Overlay>()).get();
}
void Provider::deleteOverlay(Overlay *overlay) {