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