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 29, 2024
1 parent 232d2d8 commit 0a0e873
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 0a0e873

Please sign in to comment.