Made MetalinkMetaurl::MEDIATYPE_TORRENT const char[]

pull/28/head
Tatsuhiro Tsujikawa 2012-09-25 23:07:23 +09:00
parent 8788cae7e3
commit 9a510ddac0
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@
namespace aria2 {
const std::string MetalinkMetaurl::MEDIATYPE_TORRENT("torrent");
const char MetalinkMetaurl::MEDIATYPE_TORRENT[] = "torrent";
MetalinkMetaurl::MetalinkMetaurl():
priority(MetalinkResource::getLowestPriority()) {}

View File

@ -55,7 +55,7 @@ public:
~MetalinkMetaurl();
static const std::string MEDIATYPE_TORRENT;
static const char MEDIATYPE_TORRENT[];
};
} // namespace aria2