mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-20 21:35:12 +00:00
avoid using auto variables for windows compilation
This commit is contained in:
@@ -110,7 +110,7 @@ namespace RAY::Drawables::Drawables3D {
|
||||
{
|
||||
if (Model::_modelsCache.find(path) == Model::_modelsCache.end())
|
||||
Model::_modelsCache.emplace(path, std::shared_ptr<::Model>(
|
||||
new ::Model(LoadModel(path.c_str())), [](auto p) {
|
||||
new ::Model(LoadModel(path.c_str())), [](::Model *p) {
|
||||
UnloadModel(*p);
|
||||
delete p;
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user