mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
remove unnecessary 'new' operators
This commit is contained in:
parent
26e2068164
commit
fab124a2e2
9 changed files with 36 additions and 42 deletions
|
|
@ -258,7 +258,7 @@ void Engine::loadAssets() {
|
|||
}
|
||||
}
|
||||
}
|
||||
assets.reset(new_assets.release());
|
||||
assets = std::move(new_assets);
|
||||
}
|
||||
|
||||
static void load_configs(const fs::path& root) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue