diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-28 00:25:06 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-29 23:09:09 +0900 |
| commit | 5a223115e09cd568169fe2efd71d09689a980335 (patch) | |
| tree | 61250fc5f89229e4ecc63d70ae2069207388fea0 /src/NsCookieParser.h | |
| parent | 0b1e05b13bfd7cfbf75b299c1f32cdd6e6aed953 (diff) | |
Rewrite CookieStorage
Diffstat (limited to 'src/NsCookieParser.h')
| -rw-r--r-- | src/NsCookieParser.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/NsCookieParser.h b/src/NsCookieParser.h index 5515692f..19668ed2 100644 --- a/src/NsCookieParser.h +++ b/src/NsCookieParser.h @@ -39,6 +39,7 @@ #include <string> #include <vector> +#include <memory> namespace aria2 { @@ -50,7 +51,8 @@ public: ~NsCookieParser(); - std::vector<Cookie> parse(const std::string& filename, time_t creationTime); + std::vector<std::unique_ptr<Cookie>> parse + (const std::string& filename, time_t creationTime); }; } // namespace aria2 |
