From: Michael Wallner Date: Fri, 20 Nov 2020 10:23:49 +0000 (+0100) Subject: bin/memcp: fix cast X-Git-Tag: 1.1.0-beta1~96 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Flibmemcached;a=commitdiff_plain;h=6e77392804b33fec81b9d6d3fc3fd65c4b879ce1 bin/memcp: fix cast --- 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,