Fix compare operator

pull/5623/head
Kim Kulling 2024-06-17 11:50:15 +02:00
parent fdc7a36ded
commit 012fce9f17
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ struct aiString {
/** Comparison operator */
bool operator==(const aiString &other) const {
if (length == other.length) {
return memcmp(data, other.data, length);
return memcmp(data, other.data, length) == 0;
}
return false;
}