mirror of https://github.com/aria2/aria2
Made MetalinkMetaurl::MEDIATYPE_TORRENT const char[]
parent
8788cae7e3
commit
9a510ddac0
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
namespace aria2 {
|
namespace aria2 {
|
||||||
|
|
||||||
const std::string MetalinkMetaurl::MEDIATYPE_TORRENT("torrent");
|
const char MetalinkMetaurl::MEDIATYPE_TORRENT[] = "torrent";
|
||||||
|
|
||||||
MetalinkMetaurl::MetalinkMetaurl():
|
MetalinkMetaurl::MetalinkMetaurl():
|
||||||
priority(MetalinkResource::getLowestPriority()) {}
|
priority(MetalinkResource::getLowestPriority()) {}
|
||||||
|
|
|
@ -55,7 +55,7 @@ public:
|
||||||
|
|
||||||
~MetalinkMetaurl();
|
~MetalinkMetaurl();
|
||||||
|
|
||||||
static const std::string MEDIATYPE_TORRENT;
|
static const char MEDIATYPE_TORRENT[];
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace aria2
|
} // namespace aria2
|
||||||
|
|
Loading…
Reference in New Issue