Const qualify aiMetadata::HasKey
parent
3de20af3cc
commit
064ffc625b
|
@ -432,7 +432,7 @@ struct aiMetadata {
|
|||
|
||||
/// Check whether there is a metadata entry for the given key.
|
||||
/// \param [in] Key - the key value value to check for.
|
||||
inline bool HasKey(const char *key) {
|
||||
inline bool HasKey(const char *key) const {
|
||||
if (nullptr == key) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue