summaryrefslogtreecommitdiff
path: root/src/DefaultPeerListProcessor.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-05-14 12:15:39 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-05-14 12:15:39 +0000
commit1aeefb5c4bd0db262007dd05eb86fa16592e78f9 (patch)
tree43a136760033e6b90cdebf7218691f0827d96f2e /src/DefaultPeerListProcessor.h
parent9d247362085870e04face55ca35f3de3781104d5 (diff)
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Defined static const std::string IP("ip"), PORT("port") and use them instead of string literals. * src/DefaultPeerListProcessor.cc * src/DefaultPeerListProcessor.h
Diffstat (limited to 'src/DefaultPeerListProcessor.h')
-rw-r--r--src/DefaultPeerListProcessor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/DefaultPeerListProcessor.h b/src/DefaultPeerListProcessor.h
index b7e68d0a..371fe57d 100644
--- a/src/DefaultPeerListProcessor.h
+++ b/src/DefaultPeerListProcessor.h
@@ -40,6 +40,10 @@
namespace aria2 {
class DefaultPeerListProcessor : public PeerListProcessor {
+private:
+ static const std::string IP;
+
+ static const std::string PORT;
public:
DefaultPeerListProcessor();