diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-22 19:15:57 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-22 19:15:57 +0900 |
| commit | ca329a7ccb627091c3de7015900c2826fc4df5c1 (patch) | |
| tree | 4400d69cef8ba4a5d0d133dbebd26eedae1f275f /src/FileEntry.cc | |
| parent | 38d457435534fd06d6278feaf3d9efd471a19746 (diff) | |
Use std::mem_fn instead of std::mem_fun
Diffstat (limited to 'src/FileEntry.cc')
| -rw-r--r-- | src/FileEntry.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FileEntry.cc b/src/FileEntry.cc index e3be45eb..364b0cf4 100644 --- a/src/FileEntry.cc +++ b/src/FileEntry.cc @@ -403,7 +403,7 @@ void FileEntry::reuseUri(const std::vector<std::string>& ignore) std::vector<std::string> errorUris(uriResults_.size()); std::transform(uriResults_.begin(), uriResults_.end(), - errorUris.begin(), std::mem_fun_ref(&URIResult::getURI)); + errorUris.begin(), std::mem_fn(&URIResult::getURI)); std::sort(errorUris.begin(), errorUris.end()); errorUris.erase(std::unique(errorUris.begin(), errorUris.end()), errorUris.end()); |
