Skip to content

Commit

Permalink
sdc instance bus name matching
Browse files Browse the repository at this point in the history
Signed-off-by: James Cherry <[email protected]>
  • Loading branch information
jjcherry56 committed Mar 27, 2023
1 parent 8ebd36d commit 7b7b557
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/sta/PatternMatch.hh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public:
PatternMatch(const char *pattern);
PatternMatch(const char *pattern,
const PatternMatch *inherit_from);
PatternMatch(string pattern,
PatternMatch(const string &pattern,
const PatternMatch *inherit_from);
bool match(const char *str) const;
bool match(const string &str) const;
Expand Down
2 changes: 1 addition & 1 deletion util/PatternMatch.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ PatternMatch::PatternMatch(const char *pattern,
compileRegexp();
}

PatternMatch::PatternMatch(string pattern,
PatternMatch::PatternMatch(const string &pattern,
const PatternMatch *inherit_from) :
pattern_(pattern.c_str()),
is_regexp_(inherit_from->is_regexp_),
Expand Down

0 comments on commit 7b7b557

Please sign in to comment.