Remove parameters from PBD::find_files_matching_regex

The only users of this API always used the same options so just remove
them.
This commit is contained in:
Tim Mayberry 2014-06-19 12:58:49 +10:00 committed by Paul Davis
parent 769ee5c1f2
commit 0189ad7e29
3 changed files with 9 additions and 17 deletions

View file

@ -205,10 +205,7 @@ regexp_filter (const string& str, void *arg)
void
find_files_matching_regex (vector<string>& result,
const std::string& dirpath,
const std::string& regexp,
bool match_fullpath, bool return_fullpath,
long limit,
bool recurse)
const std::string& regexp)
{
int err;
char msg[256];
@ -230,8 +227,7 @@ find_files_matching_regex (vector<string>& result,
find_files_matching_filter (result, dirpath,
regexp_filter, &compiled_pattern,
match_fullpath, return_fullpath,
limit, recurse);
true, true, -1, false);
regfree (&compiled_pattern);
}