diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-02-08 18:39:26 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-02-08 18:39:26 +0000 |
| commit | 04a70520139efcfb287e329ae97e51ddf77605c6 (patch) | |
| tree | ba928b26286c746524b968b24d69e2a3e8adcf54 /src/a2algo.h | |
| parent | 7fdbd0e10436484289b0e9ada72cbd9f6889dac6 (diff) | |
2008-02-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added std namespace to copy, remove_copy, back_inserter,
front_inserter.
* src/RequestGroupMan.cc
* src/DefaultPieceStorage.cc
* src/StreamFileAllocationEntry.cc
* src/BtFileAllocationEntry.cc
* src/RequestGroup.cc
* src/MetalinkEntry.cc
* src/DelegatingPeerListProcessor.cc
* src/DefaultBtRequestFactory.cc
* src/DefaultBtMessageDispatcher.cc
* src/version_usage.cc: Included <algorithm>
* src/main.cc
* src/MetalinkParserController.cc
* src/DefaultBtContext.cc
* src/DownloadEngineFactory.cc
* src/a2algo.h
Removed.
* test/StreamUriListParserTest.cc
Diffstat (limited to 'src/a2algo.h')
| -rw-r--r-- | src/a2algo.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/a2algo.h b/src/a2algo.h index e041b3c4..1a5a8aab 100644 --- a/src/a2algo.h +++ b/src/a2algo.h @@ -35,6 +35,8 @@ #ifndef _D_A2_ALGO_H_ #define _D_A2_ALGO_H_ +#include <algorithm> + namespace aria2 { template<typename InputIterator, typename OutputIterator> @@ -43,7 +45,7 @@ OutputIterator ncopy(InputIterator first, InputIterator last, { OutputIterator x = destination; for(int32_t i = 0; i < count; ++i) { - x = copy(first, last, destination); + x = std::copy(first, last, destination); } return x; } |
