diff --git a/include/soci/rowset.h b/include/soci/rowset.h index cfe5ca2b4..5a9bd087d 100644 --- a/include/soci/rowset.h +++ b/include/soci/rowset.h @@ -182,6 +182,8 @@ class rowset pimpl_->incRef(); } + rowset(session const & session) = delete; + ~rowset() { pimpl_->decRef();