sdc instance bus name matching
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
8ebd36df5a
commit
7b7b557991
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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_),
|
||||
|
|
|
|||
Loading…
Reference in New Issue