Skip to content

Commit

Permalink
NOLINT
Browse files Browse the repository at this point in the history
  • Loading branch information
joto committed Jun 16, 2024
1 parent 6959a1a commit 5a445b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/geom-functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,8 @@ class split_visitor
void operator()(T) const
{}

// NOLINTNEXTLINE(cppcoreguidelines-rvalue-reference-param-not-moved)
// false positive https://github.com/llvm/llvm-project/issues/74738
void operator()(geom::collection_t &&geom) const
{
for (auto &&sgeom : geom) {
Expand All @@ -445,6 +447,8 @@ class split_visitor
}

template <typename T>
// NOLINTNEXTLINE(cppcoreguidelines-rvalue-reference-param-not-moved)
// false positive https://github.com/llvm/llvm-project/issues/74738
void operator()(geom::multigeometry_t<T> &&geom) const
{
for (auto &&sgeom : geom) {
Expand Down

0 comments on commit 5a445b7

Please sign in to comment.