diff --git a/Engine/source/scene/sceneQueryUtil.h b/Engine/source/scene/sceneQueryUtil.h index c64d58c4d..d53af4b17 100644 --- a/Engine/source/scene/sceneQueryUtil.h +++ b/Engine/source/scene/sceneQueryUtil.h @@ -86,11 +86,7 @@ struct SceneBinRange inline bool operator!=(const SceneBinRange& other) const { - if (memcmp(minCoord, other.minCoord, sizeof(minCoord)) == 0 && - memcmp(maxCoord, other.maxCoord, sizeof(maxCoord)) == 0) - return false; - else - return true; + return !(*this == other); } };