diff --git a/base/attribute_matcher.h b/base/attribute_matcher.h index 01d60ba85..f10448b0b 100644 --- a/base/attribute_matcher.h +++ b/base/attribute_matcher.h @@ -200,8 +200,7 @@ AttributeMatch MakeAttributeMatch( const common_internal::AttributeMatcherNode* node); [[nodiscard]] -const AttributeMatcherNode* GetAttributeMatcherNode( - const AttributeMatch& match); +const AttributeMatcherNode* GetAttributeMatcherNode(AttributeMatch match); } // namespace common_internal @@ -252,7 +251,7 @@ class [[nodiscard]] AttributeMatch { friend AttributeMatch common_internal::MakeAttributeMatch( const common_internal::AttributeMatcherNode* node); friend const common_internal::AttributeMatcherNode* - common_internal::GetAttributeMatcherNode(const AttributeMatch& match); + common_internal::GetAttributeMatcherNode(AttributeMatch match); AttributeMatch NotNoneMatchQualifier( const AttributeQualifierView& qualifier) const { @@ -276,7 +275,7 @@ inline AttributeMatch MakeAttributeMatch( [[nodiscard]] inline const AttributeMatcherNode* GetAttributeMatcherNode( - const AttributeMatch& match) { + AttributeMatch match) { return match.node_; }