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.
This commit is contained in:
Tatsuhiro Tsujikawa 2010-06-21 13:51:56 +00:00
parent ae957baa98
commit ca4940622c
550 changed files with 10253 additions and 10248 deletions

View file

@ -10,11 +10,11 @@ namespace aria2 {
class MockDHTTask:public DHTTask {
public:
SharedHandle<DHTNode> _remoteNode;
SharedHandle<DHTNode> remoteNode_;
unsigned char _targetID[DHT_ID_LENGTH];
unsigned char targetID_[DHT_ID_LENGTH];
MockDHTTask(const SharedHandle<DHTNode>& remoteNode):_remoteNode(remoteNode) {}
MockDHTTask(const SharedHandle<DHTNode>& remoteNode):remoteNode_(remoteNode) {}
virtual ~MockDHTTask() {}
@ -27,7 +27,7 @@ public:
void setTargetID(const unsigned char* targetID)
{
memcpy(_targetID, targetID, DHT_ID_LENGTH);
memcpy(targetID_, targetID, DHT_ID_LENGTH);
}
};