From 064ffc625bef301a03a91a0e3ab7104466101605 Mon Sep 17 00:00:00 2001 From: Evangel Date: Mon, 14 Jun 2021 12:21:29 +1000 Subject: [PATCH] Const qualify aiMetadata::HasKey --- include/assimp/metadata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/assimp/metadata.h b/include/assimp/metadata.h index 551a9aba4..57fedfbfc 100644 --- a/include/assimp/metadata.h +++ b/include/assimp/metadata.h @@ -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; }