summaryrefslogtreecommitdiff
path: root/src/NsCookieParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/NsCookieParser.h')
-rw-r--r--src/NsCookieParser.h4
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