From 6e77392804b33fec81b9d6d3fc3fd65c4b879ce1 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 20 Nov 2020 11:23:49 +0100 Subject: [PATCH] bin/memcp: fix cast --- src/bin/memcp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/memcp.cc b/src/bin/memcp.cc index 114a2f85..eb7151e6 100644 --- a/src/bin/memcp.cc +++ b/src/bin/memcp.cc @@ -46,7 +46,7 @@ struct memcp_file { }; static inline std::string stream2string(const std::istream &istream) { - return dynamic_cast(std::ostringstream{} << istream.rdbuf()).str(); + return dynamic_cast(std::ostringstream{} << istream.rdbuf()).str(); } static memcached_return_t memcp(const client_options &opt, memcached_st &memc, const char *key, -- 2.30.2