Skip to content

Commit

Permalink
clang-tidy fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Mar 31, 2023
1 parent fd566b9 commit 68ce34b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rviz/default_plugin/tf_display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ class RegexFilterProperty : public StringProperty
}

public:
RegexFilterProperty(const QString& name, const std::regex regex, Property* parent)
RegexFilterProperty(const QString& name, const std::regex& regex, Property* parent)
: StringProperty(name, "", "regular expression", parent), default_(regex), regex_(regex)
{
QObject::connect(this, &RegexFilterProperty::changed, this, [this]() { onValueChanged(); });
Expand Down

0 comments on commit 68ce34b

Please sign in to comment.