mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
fix
This commit is contained in:
parent
9a817a86ff
commit
b2abd57a71
4 changed files with 12 additions and 10 deletions
|
|
@ -83,7 +83,7 @@ UiDocument* Assets::getLayout(std::string name) const {
|
|||
}
|
||||
|
||||
void Assets::store(UiDocument* layout, std::string name) {
|
||||
layouts.emplace(name, layout);
|
||||
layouts[name] = std::shared_ptr<UiDocument>(layout);
|
||||
}
|
||||
|
||||
void Assets::extend(const Assets& assets) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue