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/AuthResolver.h | |
| parent | 126a4bde612eb0e6c48cf2f13ebe3eac45cc71a8 (diff) | |
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
Diffstat (limited to 'src/AuthResolver.h')
| -rw-r--r-- | src/AuthResolver.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/AuthResolver.h b/src/AuthResolver.h index ab2cccf7..e3b83449 100644 --- a/src/AuthResolver.h +++ b/src/AuthResolver.h @@ -38,8 +38,7 @@ #include "common.h" #include <string> - -#include "SharedHandle.h" +#include <memory> namespace aria2 { @@ -49,7 +48,7 @@ class AuthResolver { public: virtual ~AuthResolver() {} - virtual SharedHandle<AuthConfig> resolveAuthConfig(const std::string& hostname) = 0; + virtual std::shared_ptr<AuthConfig> resolveAuthConfig(const std::string& hostname) = 0; }; } // namespace aria2 |
