summaryrefslogtreecommitdiff
path: root/libpqpp/pq-cursorselectcommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp/pq-cursorselectcommand.cpp')
-rw-r--r--libpqpp/pq-cursorselectcommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/pq-cursorselectcommand.cpp b/libpqpp/pq-cursorselectcommand.cpp
index da0a95b..5ace13b 100644
--- a/libpqpp/pq-cursorselectcommand.cpp
+++ b/libpqpp/pq-cursorselectcommand.cpp
@@ -33,7 +33,7 @@ PQ::CursorSelectCommand::mkdeclare() const
std::stringstream psql;
PQCursorSelectDeclare::write(psql, stmntName);
prepareSql(psql, sql);
- return psql.str();
+ return std::move(psql).str();
}
void