diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-26 21:45:29 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-26 21:45:29 +0900 |
| commit | d485c8e76758c68ce55e9554d339eaf715ae7bca (patch) | |
| tree | 51ecc085110b4598159f980105f51eb87eaeceb0 /src/AuthResolver.h | |
| parent | a4cf50914dc5c5ca1a363b9f63a34eeb3c17cee4 (diff) | |
Rewrite AuthConfig objects using std::unique_ptr
Diffstat (limited to 'src/AuthResolver.h')
| -rw-r--r-- | src/AuthResolver.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/AuthResolver.h b/src/AuthResolver.h index e3b83449..c02e5ec5 100644 --- a/src/AuthResolver.h +++ b/src/AuthResolver.h @@ -48,7 +48,8 @@ class AuthResolver { public: virtual ~AuthResolver() {} - virtual std::shared_ptr<AuthConfig> resolveAuthConfig(const std::string& hostname) = 0; + virtual std::unique_ptr<AuthConfig> resolveAuthConfig + (const std::string& hostname) = 0; }; } // namespace aria2 |
