Fix clang-tidy modernize-pass-by-value warnings in headers

This commit is contained in:
Tim Wojtulewicz 2025-06-09 19:34:09 -07:00
parent c0e275604f
commit d19486d039
2 changed files with 4 additions and 4 deletions

View file

@ -187,8 +187,8 @@ private:
* @param arg_a an analyzer instance to add to an analyzer set.
* @param arg_key hash key representing the analyzer's \c AnalyzerArgs.
*/
RemoveMod(const zeek::Tag& arg_tag, std::unique_ptr<zeek::detail::HashKey> arg_key)
: Modification(), tag(arg_tag), key(std::move(arg_key)) {}
RemoveMod(zeek::Tag arg_tag, std::unique_ptr<zeek::detail::HashKey> arg_key)
: Modification(), tag(std::move(arg_tag)), key(std::move(arg_key)) {}
~RemoveMod() override {}
bool Perform(AnalyzerSet* set) override;
void Abort() override {}