summaryrefslogtreecommitdiff
path: root/src/Command.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Command.cc')
-rw-r--r--src/Command.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Command.cc b/src/Command.cc
index 8758f334..82db3178 100644
--- a/src/Command.cc
+++ b/src/Command.cc
@@ -34,17 +34,17 @@
/* copyright --> */
#include "Command.h"
#include "LogFactory.h"
-#include "Logger.h"
namespace aria2 {
-Command::Command(cuid_t cuid):status_(STATUS_INACTIVE),
- cuid_(cuid),
- logger_(LogFactory::getInstance()),
- readEvent_(false),
- writeEvent_(false),
- errorEvent_(false),
- hupEvent_(false) {}
+Command::Command(cuid_t cuid)
+ : status_(STATUS_INACTIVE),
+ cuid_(cuid),
+ readEvent_(false),
+ writeEvent_(false),
+ errorEvent_(false),
+ hupEvent_(false)
+{}
void Command::transitStatus()
{