Remove unused and potentially unsafe function ListVal::IncludedInString

This commit is contained in:
Bernhard Amann 2014-02-24 08:13:38 -08:00
parent ca2cdd8861
commit 09c2491896
2 changed files with 0 additions and 24 deletions

View file

@ -669,13 +669,6 @@ public:
Val* Index(const int n) { return vals[n]; }
const Val* Index(const int n) const { return vals[n]; }
// Returns offset of where str includes one of the strings in this
// ListVal (which had better be a list of strings), nil if none.
//
// Assumes that all of the strings in the list are NUL-terminated
// and do not have any embedded NULs.
const char* IncludedInString(const char* str) const;
// Returns an RE_Matcher() that will match any string that
// includes embedded within it one of the patterns listed
// (as a string, e.g., "foo|bar") in this ListVal.