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/AbstractCommand.cc | |
| parent | 38d457435534fd06d6278feaf3d9efd471a19746 (diff) | |
Use std::mem_fn instead of std::mem_fun
Diffstat (limited to 'src/AbstractCommand.cc')
| -rw-r--r-- | src/AbstractCommand.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AbstractCommand.cc b/src/AbstractCommand.cc index bb078495..5736180a 100644 --- a/src/AbstractCommand.cc +++ b/src/AbstractCommand.cc @@ -469,7 +469,7 @@ void AbstractCommand::onAbort() { std::vector<std::string> uris; uris.reserve(res.size()); std::transform(res.begin(), res.end(), std::back_inserter(uris), - std::mem_fun_ref(&URIResult::getURI)); + std::mem_fn(&URIResult::getURI)); A2_LOG_DEBUG(fmt("CUID#%" PRId64 " - %lu URIs found.", getCuid(), static_cast<unsigned long int>(uris.size()))); |
