TablePatternMatcher: Use const StringValPtr& instead of const StringVal*

This commit is contained in:
Arne Welzel 2023-11-01 15:23:57 +01:00
parent c426304c27
commit 501b582bc7
5 changed files with 9 additions and 9 deletions

View file

@ -867,7 +867,7 @@ public:
// For a table[pattern], return a vector of all yields matching
// the given string.
// Causes an internal error if called for any other kind of table.
VectorValPtr LookupPattern(const StringVal* s);
VectorValPtr LookupPattern(const StringValPtr& s);
// Sets the timestamp for the given index to network time.
// Returns false if index does not exist.