diff --git a/src/entt/meta/meta.hpp b/src/entt/meta/meta.hpp index 6741d149e..eb7732197 100644 --- a/src/entt/meta/meta.hpp +++ b/src/entt/meta/meta.hpp @@ -1106,6 +1106,7 @@ class meta_type { size_type match{}; size_type pos{}; + // NOLINTBEGIN(cppcoreguidelines-pro-bounds-pointer-arithmetic) - waiting for C++20 (and std::span) for(; pos < sz && args[pos]; ++pos) { const auto other = curr->arg(*ctx, pos); const auto type = args[pos].type(); @@ -1116,6 +1117,7 @@ class meta_type { break; } } + // NOLINTEND(cppcoreguidelines-pro-bounds-pointer-arithmetic) if(pos == sz) { if(!candidate || match > same) {