From 4148d84244eec022caf597e3a95243ba97b83eb3 Mon Sep 17 00:00:00 2001 From: Roland Bock Date: Sun, 15 Jun 2025 09:21:31 +0200 Subject: [PATCH] Fix compile error in postgresql connector #623 --- include/sqlpp11/postgresql/connection.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/sqlpp11/postgresql/connection.h b/include/sqlpp11/postgresql/connection.h index dbd14781..6d7cd399 100644 --- a/include/sqlpp11/postgresql/connection.h +++ b/include/sqlpp11/postgresql/connection.h @@ -28,9 +28,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include #include -#include #include #include @@ -359,7 +357,7 @@ namespace sqlpp _context_t context{*this}; serialize(x, context); - return execute(context.str()); + return static_cast(execute(context.str())->result.affected_rows()); } template <