diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-24 21:46:42 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-24 21:46:42 +0900 |
| commit | 10cdc59297f4e1327217008f2ae073c400959df2 (patch) | |
| tree | 2f586b0842aba8162e37497e25a1ddd6ceb156e6 /test/a2algoTest.cc | |
| parent | d2ec57057e591810ebbb5febb34ae0cadf5068c5 (diff) | |
Remove vbegin and vend in favor of std::begin and std::end
Diffstat (limited to 'test/a2algoTest.cc')
| -rw-r--r-- | test/a2algoTest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/a2algoTest.cc b/test/a2algoTest.cc index 94cd2115..e8801db6 100644 --- a/test/a2algoTest.cc +++ b/test/a2algoTest.cc @@ -26,7 +26,7 @@ void a2algoTest::testSelect() { size_t A[] = { 1,2,3,4,7,10,11,12,13,14,15,100,112,113,114 }; - std::pair<size_t*, size_t> p = max_sequence(vbegin(A), vend(A)); + std::pair<size_t*, size_t> p = max_sequence(std::begin(A), std::end(A)); CPPUNIT_ASSERT_EQUAL(&A[5], p.first); CPPUNIT_ASSERT_EQUAL((size_t)6, p.second); |
