Fix test case compatibility with older compilers
This commit is contained in:
parent
73aab31ade
commit
97c6bccc39
@ -28,7 +28,7 @@ public:
|
|||||||
std::shared_ptr<cpputils::HttpClient> _httpClient() {
|
std::shared_ptr<cpputils::HttpClient> _httpClient() {
|
||||||
std::shared_ptr<cpputils::FakeHttpClient> httpClient = std::make_shared<cpputils::FakeHttpClient>();
|
std::shared_ptr<cpputils::FakeHttpClient> httpClient = std::make_shared<cpputils::FakeHttpClient>();
|
||||||
httpClient->addWebsite("https://www.cryfs.org/version_info.json", "{\"version_info\":{\"current\":\"0.8.5\"}}");
|
httpClient->addWebsite("https://www.cryfs.org/version_info.json", "{\"version_info\":{\"current\":\"0.8.5\"}}");
|
||||||
return httpClient;
|
return std::shared_ptr<cpputils::HttpClient>(std::move(httpClient));
|
||||||
}
|
}
|
||||||
|
|
||||||
void run(std::vector<const char*> args) {
|
void run(std::vector<const char*> args) {
|
||||||
|
Loading…
Reference in New Issue
Block a user