diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-22 01:10:38 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-22 01:10:38 +0900 |
| commit | 07d270c87e6f9184aea4ca17eb26e466712e8db2 (patch) | |
| tree | 2dfbaa2e0d2ad0f38cb73098608f7d67a64320f8 /src/magnet.h | |
| parent | 126a4bde612eb0e6c48cf2f13ebe3eac45cc71a8 (diff) | |
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
Diffstat (limited to 'src/magnet.h')
| -rw-r--r-- | src/magnet.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/magnet.h b/src/magnet.h index d2de23c7..4cb34246 100644 --- a/src/magnet.h +++ b/src/magnet.h @@ -43,11 +43,11 @@ namespace aria2 { namespace magnet { // Parses Magnet URI magnet and stores parameters in -// SharedHandle<Dict>. Because same parameter name can appear more -// than once, the value associated with a key is SharedHandle<List>. A +// std::shared_ptr<Dict>. Because same parameter name can appear more +// than once, the value associated with a key is std::shared_ptr<List>. A // parameter value is stored in a list. If parsing operation failed, -// SharedHandle<Dict>() is returned. -SharedHandle<Dict> parse(const std::string& magnet); +// std::shared_ptr<Dict>() is returned. +std::shared_ptr<Dict> parse(const std::string& magnet); } // namespace magnet |
