summaryrefslogtreecommitdiff
path: root/src/RequestGroupEntry.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-06-21 13:51:56 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-06-21 13:51:56 +0000
commitca4940622c05e50a50f77c621ade914029663446 (patch)
tree2715d87c6b4faa669ae317f6f95d9694630cd4a0 /src/RequestGroupEntry.cc
parentae957baa98d4f97ea2437596db5073f9c33d22ae (diff)
2010-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Changed naming standards for class member variable: now it looks like var_ instead of _var.
Diffstat (limited to 'src/RequestGroupEntry.cc')
-rw-r--r--src/RequestGroupEntry.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/RequestGroupEntry.cc b/src/RequestGroupEntry.cc
index 30c29f69..65427017 100644
--- a/src/RequestGroupEntry.cc
+++ b/src/RequestGroupEntry.cc
@@ -41,22 +41,22 @@ namespace aria2 {
RequestGroupEntry::RequestGroupEntry(RequestGroup* requestGroup,
Command* nextCommand):
- _requestGroup(requestGroup),
- _nextCommand(nextCommand)
+ requestGroup_(requestGroup),
+ nextCommand_(nextCommand)
{
- _requestGroup->increaseNumCommand();
+ requestGroup_->increaseNumCommand();
}
RequestGroupEntry::~RequestGroupEntry()
{
- _requestGroup->decreaseNumCommand();
- delete _nextCommand;
+ requestGroup_->decreaseNumCommand();
+ delete nextCommand_;
}
Command* RequestGroupEntry::popNextCommand()
{
- Command* temp = _nextCommand;
- _nextCommand = 0;
+ Command* temp = nextCommand_;
+ nextCommand_ = 0;
return temp;
}