summaryrefslogtreecommitdiff
path: root/src/BtFileAllocationEntry.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-06-11 23:51:41 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-06-11 23:51:41 +0900
commit377eb0699f163b872b07aa5acd68432da87d256f (patch)
tree48f560afc8ee20237fa76b24dec4bf1e43f5da27 /src/BtFileAllocationEntry.cc
parent37c2edd97abf81d373d55a29b326d68ae53dfb2e (diff)
Use std::begin and std::end
Diffstat (limited to 'src/BtFileAllocationEntry.cc')
-rw-r--r--src/BtFileAllocationEntry.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BtFileAllocationEntry.cc b/src/BtFileAllocationEntry.cc
index 5063f989..44553354 100644
--- a/src/BtFileAllocationEntry.cc
+++ b/src/BtFileAllocationEntry.cc
@@ -70,7 +70,7 @@ void BtFileAllocationEntry::prepareForNextAction
const std::vector<std::shared_ptr<FileEntry> >& fileEntries =
getRequestGroup()->getDownloadContext()->getFileEntries();
if(isUriSuppliedForRequsetFileEntry
- (fileEntries.begin(), fileEntries.end())) {
+ (std::begin(fileEntries), std::end(fileEntries))) {
getRequestGroup()->createNextCommandWithAdj(commands, e, 0);
}
} else {