Fix test case compatibility with older compilers

This commit is contained in:
Sebastian Messmer 2017-10-08 16:14:40 +01:00
parent 73aab31ade
commit 97c6bccc39

View File

@ -28,7 +28,7 @@ public:
std::shared_ptr<cpputils::HttpClient> _httpClient() {
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\"}}");
return httpClient;
return std::shared_ptr<cpputils::HttpClient>(std::move(httpClient));
}
void run(std::vector<const char*> args) {