meta: linter directives (waiting for C++20 and std::span)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user