diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2014-06-19 12:58:49 +1000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-25 12:40:09 -0400 |
commit | 0189ad7e29c4293af1f161ae229835f7e57bd0ae (patch) | |
tree | f9d82dd55ecc922f69bcf35f5aab299c790d2e8c /libs/pbd/file_utils.cc | |
parent | 769ee5c1f278c2de08a48a568738d9ac8d2f7c16 (diff) |
Remove parameters from PBD::find_files_matching_regex
The only users of this API always used the same options so just remove
them.
Diffstat (limited to 'libs/pbd/file_utils.cc')
-rw-r--r-- | libs/pbd/file_utils.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libs/pbd/file_utils.cc b/libs/pbd/file_utils.cc index 6e81a213f5..7dd65e8bc4 100644 --- a/libs/pbd/file_utils.cc +++ b/libs/pbd/file_utils.cc @@ -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); } |