From 2a99baafdcac46931b00a9ef9e77340dbc319b58 Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 14 Oct 2019 13:36:58 -0400 Subject: remove unnecessary std::move() --- src/conn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conn.cpp') diff --git a/src/conn.cpp b/src/conn.cpp index 15f90bc..dab10dc 100644 --- a/src/conn.cpp +++ b/src/conn.cpp @@ -47,7 +47,7 @@ ConnPool::Conn::operator std::string() const { case Conn::PASSIVE: s << "passive"; break; } s << ">"; - return std::move(s); + return std::string(std::move(s)); } /* the following functions are executed by exactly one worker per Conn object */ -- cgit v1.2.3