summaryrefslogtreecommitdiff
path: root/src/HttpHeader.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-24 21:46:42 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-24 21:46:42 +0900
commit10cdc59297f4e1327217008f2ae073c400959df2 (patch)
tree2f586b0842aba8162e37497e25a1ddd6ceb156e6 /src/HttpHeader.cc
parentd2ec57057e591810ebbb5febb34ae0cadf5068c5 (diff)
Remove vbegin and vend in favor of std::begin and std::end
Diffstat (limited to 'src/HttpHeader.cc')
-rw-r--r--src/HttpHeader.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc
index 4f046fce..33a4ea43 100644
--- a/src/HttpHeader.cc
+++ b/src/HttpHeader.cc
@@ -273,11 +273,11 @@ const char* INTERESTING_HEADER_NAMES[] = {
int idInterestingHeader(const char* hdName)
{
- const char** i = std::lower_bound(vbegin(INTERESTING_HEADER_NAMES),
- vend(INTERESTING_HEADER_NAMES),
+ const char** i = std::lower_bound(std::begin(INTERESTING_HEADER_NAMES),
+ std::end(INTERESTING_HEADER_NAMES),
hdName, util::strless);
- if(i != vend(INTERESTING_HEADER_NAMES) && strcmp(*i, hdName) == 0 ) {
- return i - vbegin(INTERESTING_HEADER_NAMES);
+ if(i != std::end(INTERESTING_HEADER_NAMES) && strcmp(*i, hdName) == 0 ) {
+ return i - std::begin(INTERESTING_HEADER_NAMES);
} else {
return HttpHeader::MAX_INTERESTING_HEADER;
}