diff options
Diffstat (limited to 'src/ContentTypeRequestGroupCriteria.cc')
| -rw-r--r-- | src/ContentTypeRequestGroupCriteria.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ContentTypeRequestGroupCriteria.cc b/src/ContentTypeRequestGroupCriteria.cc index d276cd26..078ef7df 100644 --- a/src/ContentTypeRequestGroupCriteria.cc +++ b/src/ContentTypeRequestGroupCriteria.cc @@ -43,8 +43,9 @@ namespace aria2 { +namespace { template<typename InputIterator> -static bool tailMatch +bool tailMatch (InputIterator first, InputIterator last, const std::string& target) { for(; first != last; ++first) { @@ -54,6 +55,7 @@ static bool tailMatch } return false; } +} // namespace bool ContentTypeRequestGroupCriteria::match (const RequestGroup* requestGroup) const |
