Const qualify aiMetadata::HasKey

pull/3955/head
Evangel 2021-06-14 12:21:29 +10:00
parent 3de20af3cc
commit 064ffc625b
1 changed files with 1 additions and 1 deletions

View File

@ -432,7 +432,7 @@ struct aiMetadata {
/// Check whether there is a metadata entry for the given key. /// Check whether there is a metadata entry for the given key.
/// \param [in] Key - the key value value to check for. /// \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) { if (nullptr == key) {
return false; return false;
} }