summaryrefslogtreecommitdiff
path: root/src/TimeBasedCommand.cc
diff options
context:
space:
mode:
authorNils Maier <maierman@web.de>2013-11-26 02:59:51 +0100
committerNils Maier <maierman@web.de>2013-12-09 15:41:43 +0100
commit2db0c81fc8067d73230fcbffc90bd7ad1f9c07b0 (patch)
treea6c37eaa4de5ef4c8b4e982cb7d87c1f6ac5bf3b /src/TimeBasedCommand.cc
parent1323048ab1a254510e32d47f5549f4e30d273e5a (diff)
Stuff memory holes
Padding changes on x86_64: - RequestGroup: 29 -> 5 bytes - DownloadContext: 25 -> 1 bytes - Cookie: 20 -> 4 bytes - Command: 8 -> 0 bytes (affects many derived as well) - HttpRequest: 20 -> 4 bytes - DownloadCommand: 18 -> 2 bytes - TimeBasedCommand: 14 -> 6 bytes - AbstractCommand: 13 -> 5 bytes - HttpSkipResponseCommand: 12 -> 4 bytes - FileEntry: 10 -> 2 bytes - DownloadResult: 15 -> 7 bytes - UriStruct: 12 -> 4 bytes - Piece: 11 -> 3 bytes - BitfieldMan -> 11 -> 3 bytes
Diffstat (limited to 'src/TimeBasedCommand.cc')
-rw-r--r--src/TimeBasedCommand.cc11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/TimeBasedCommand.cc b/src/TimeBasedCommand.cc
index f077baed..0be235bb 100644
--- a/src/TimeBasedCommand.cc
+++ b/src/TimeBasedCommand.cc
@@ -40,9 +40,14 @@ namespace aria2 {
TimeBasedCommand::TimeBasedCommand(cuid_t cuid, DownloadEngine* e,
time_t interval,
- bool routineCommand):
- Command(cuid), e_(e),exit_(false), interval_(interval),
- routineCommand_(routineCommand), checkPoint_(global::wallclock()) {}
+ bool routineCommand)
+ : Command(cuid),
+ e_(e),
+ checkPoint_(global::wallclock()),
+ interval_(interval),
+ exit_(false),
+ routineCommand_(routineCommand)
+{}
TimeBasedCommand::~TimeBasedCommand() {}