summaryrefslogtreecommitdiff
path: root/src/PieceHashCheckIntegrityEntry.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-02-08 15:53:45 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-02-08 15:53:45 +0000
commit1b7c1982896dba1d38e1fe84ba9660996607f5f9 (patch)
treed12047cb37ded1e18d4d5b97844412538beb19ff /src/PieceHashCheckIntegrityEntry.cc
parentd82e183d346375ac8a58a298a58728be615f947e (diff)
2008-02-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Removed "using namespace std;" from all sources. Appended std:: prefix to c++ standard classes. Included string.h where mem* function are used.
Diffstat (limited to 'src/PieceHashCheckIntegrityEntry.cc')
-rw-r--r--src/PieceHashCheckIntegrityEntry.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/PieceHashCheckIntegrityEntry.cc b/src/PieceHashCheckIntegrityEntry.cc
index 1fdb07c6..466eb8d2 100644
--- a/src/PieceHashCheckIntegrityEntry.cc
+++ b/src/PieceHashCheckIntegrityEntry.cc
@@ -33,12 +33,13 @@
*/
/* copyright --> */
#include "PieceHashCheckIntegrityEntry.h"
-#include "Command.h"
#include "RequestGroup.h"
#include "IteratableChunkChecksumValidator.h"
#include "DownloadContext.h"
#include "PieceStorage.h"
+namespace aria2 {
+
PieceHashCheckIntegrityEntry::PieceHashCheckIntegrityEntry(RequestGroup* requestGroup,
Command* nextCommand):
CheckIntegrityEntry(requestGroup, nextCommand) {}
@@ -62,3 +63,5 @@ void PieceHashCheckIntegrityEntry::initValidator()
_validator = validator;
#endif // ENABLE_MESSAGE_DIGEST
}
+
+} // namespace aria2