usage of dynamic_cast instead of static_cast

This commit is contained in:
CwTCwT
2018-06-10 10:35:15 +02:00
parent 7db668e66f
commit 9415380b4c
3 changed files with 10 additions and 8 deletions

View File

@@ -82,8 +82,8 @@ namespace Assimp {
* @param[in] customdata CustomData to search for wanted layer
* @param[in] cdtype to search for
* @param[in] name to search for
* @return CustomDataLayer * or nullptr if not found
* @return * to struct data or nullptr if not found
*/
const void * getCustomDataLayerData(const CustomData &customdata, CustomDataType cdtype, const std::string &name);
const ElemBase * getCustomDataLayerData(const CustomData &customdata, CustomDataType cdtype, const std::string &name);
}
}