1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Fix compilation error

This commit is contained in:
nordsoft 2022-12-12 11:43:54 +04:00
parent 5e3504f578
commit 34bf741936

View File

@ -32,7 +32,7 @@ protected:
auto iter = widgets.find(name);
if(iter == widgets.end())
return nullptr;
return dynamic_pointer_cast<T>(iter->second);
return std::dynamic_pointer_cast<T>(iter->second);
}
private: