summaryrefslogtreecommitdiff
path: root/src/SingleFileAllocationIterator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/SingleFileAllocationIterator.h')
-rw-r--r--src/SingleFileAllocationIterator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SingleFileAllocationIterator.h b/src/SingleFileAllocationIterator.h
index 11df3b6d..3efc0d9e 100644
--- a/src/SingleFileAllocationIterator.h
+++ b/src/SingleFileAllocationIterator.h
@@ -40,6 +40,7 @@
namespace aria2 {
class BinaryStream;
+class Logger;
class SingleFileAllocationIterator:public FileAllocationIterator
{
@@ -51,6 +52,8 @@ private:
uint64_t totalLength_;
unsigned char* buffer_;
+
+ Logger* logger_;
public:
SingleFileAllocationIterator(BinaryStream* stream, off_t offset, uint64_t totalLength);