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 3ae7f6d commit b023cc5
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 @@ -216,7 +216,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 b023cc5

Please sign in to comment.