Skip to content

Commit

Permalink
Improve method docs.
Browse files Browse the repository at this point in the history
Also, annotate with @param and @return.

Signed-off-by: Raul Gutierrez Segales <[email protected]>
  • Loading branch information
Raul Gutierrez Segales committed May 3, 2018
1 parent 663c922 commit b24da82
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions include/envoy/router/router.h
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,11 @@ class MetadataMatchCriteria {

/**
* Creates a new MetadataMatchCriteria, merging existing
* metadata criteria this criteria. The result criteria is the
* combination of both sets of criteria, with those from the
* metadata criteria with the provided criteria. The result criteria is the
* combination of both sets of criteria, with those from the metadata_matches
* ProtobufWkt::Struct taking precedence.
* @param metadata_matches supplies the new criteria.
* @return MetadataMatchCriteriaConstPtr the result criteria.
*/
virtual MetadataMatchCriteriaConstPtr
mergeMatchCriteria(const ProtobufWkt::Struct& metadata_matches) const PURE;
Expand Down

0 comments on commit b24da82

Please sign in to comment.