summaryrefslogtreecommitdiff
path: root/src/FileEntry.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-22 19:15:57 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-22 19:15:57 +0900
commitca329a7ccb627091c3de7015900c2826fc4df5c1 (patch)
tree4400d69cef8ba4a5d0d133dbebd26eedae1f275f /src/FileEntry.cc
parent38d457435534fd06d6278feaf3d9efd471a19746 (diff)
Use std::mem_fn instead of std::mem_fun
Diffstat (limited to 'src/FileEntry.cc')
-rw-r--r--src/FileEntry.cc2
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());