fix: Crash when using provider overlays
This commit is contained in:
parent
be3ac26306
commit
eba8c82699
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user