diff options
author | Determinant <[email protected]> | 2019-10-14 13:36:58 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-10-14 13:36:58 -0400 |
commit | 2a99baafdcac46931b00a9ef9e77340dbc319b58 (patch) | |
tree | 99bd05cd8985ee61e93332c626d40cb9ea5f1fb1 /src/conn.cpp | |
parent | b6cc8b6615266fa1023b63d08e96971629d854c6 (diff) |
remove unnecessary std::move()v0.1.0
Diffstat (limited to 'src/conn.cpp')
-rw-r--r-- | src/conn.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |