Skip to content

Commit

Permalink
programmemory.cpp: mitigated performance-unnecessary-value-param cl…
Browse files Browse the repository at this point in the history
…ang-tidy warning
  • Loading branch information
firewave committed Jul 30, 2024
1 parent 3af3159 commit 809b0e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/programmemory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ bool ProgramMemory::empty() const
return mValues->empty();
}

// NOLINTNEXTLINE(performance-unnecessary-value-param) - technically correct but we are moving the given values
void ProgramMemory::replace(ProgramMemory pm)
{
if (pm.empty())
Expand Down

0 comments on commit 809b0e6

Please sign in to comment.