From 97c6bccc3955890c9531ca201fc5f8dca0fb106e Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Sun, 8 Oct 2017 16:14:40 +0100 Subject: [PATCH] Fix test case compatibility with older compilers --- test/cryfs-cli/testutils/CliTest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cryfs-cli/testutils/CliTest.h b/test/cryfs-cli/testutils/CliTest.h index c9825c6f..5d813303 100644 --- a/test/cryfs-cli/testutils/CliTest.h +++ b/test/cryfs-cli/testutils/CliTest.h @@ -28,7 +28,7 @@ public: std::shared_ptr _httpClient() { std::shared_ptr httpClient = std::make_shared(); httpClient->addWebsite("https://www.cryfs.org/version_info.json", "{\"version_info\":{\"current\":\"0.8.5\"}}"); - return httpClient; + return std::shared_ptr(std::move(httpClient)); } void run(std::vector args) {