diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-11 14:48:01 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-11 14:48:01 +0000 |
| commit | 6fef76979e0725bd6db8419e56e2b556b2ec8923 (patch) | |
| tree | 94f1299e776cd9feef01c2ac7ae2af4df7f6f666 /src | |
| parent | cfad3a2f197bac219dd2fec6e821663f2620bd7b (diff) | |
2010-06-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed unused member variable uuid and uuidGen
* src/Command.cc
* src/Command.h
Diffstat (limited to 'src')
| -rw-r--r-- | src/Command.cc | 5 | ||||
| -rw-r--r-- | src/Command.h | 6 |
2 files changed, 1 insertions, 10 deletions
diff --git a/src/Command.cc b/src/Command.cc index 42ac5b37..52d3c192 100644 --- a/src/Command.cc +++ b/src/Command.cc @@ -38,10 +38,7 @@ namespace aria2 { -int32_t Command::uuidGen = 0; - -Command::Command(cuid_t cuid):uuid(uuidGen++), - _status(STATUS_INACTIVE), +Command::Command(cuid_t cuid):_status(STATUS_INACTIVE), _cuid(cuid), _logger(LogFactory::getInstance()), _readEvent(false), diff --git a/src/Command.h b/src/Command.h index 1a10f24b..1fd2cdb2 100644 --- a/src/Command.h +++ b/src/Command.h @@ -42,8 +42,6 @@ namespace aria2 { class Logger; -typedef int32_t CommandUuid; - typedef int64_t cuid_t; class Command { @@ -56,8 +54,6 @@ public: STATUS_ONESHOT_REALTIME }; private: - CommandUuid uuid; - static int32_t uuidGen; STATUS _status; cuid_t _cuid; @@ -101,8 +97,6 @@ public: cuid_t getCuid() const { return _cuid; } - const CommandUuid& getUuid() const { return uuid; } - void setStatusActive() { _status = STATUS_ACTIVE; } void setStatusInactive() { _status = STATUS_INACTIVE; } |
