summaryrefslogtreecommitdiff
path: root/libpqpp/pq-connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp/pq-connection.h')
-rw-r--r--libpqpp/pq-connection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpqpp/pq-connection.h b/libpqpp/pq-connection.h
index 83da2d4..af013ab 100644
--- a/libpqpp/pq-connection.h
+++ b/libpqpp/pq-connection.h
@@ -3,6 +3,7 @@
#include "command_fwd.h"
#include "pq-error.h"
+#include "pq-helpers.h"
#include <c++11Helpers.h>
#include <connection.h>
#include <cstddef>
@@ -46,8 +47,7 @@ namespace PQ {
void endBulkUpload(const char *) override;
size_t bulkUploadData(const char *, size_t) const override;
- PGresult * checkResult(PGresult * res, int expected, int alternative = -1) const;
- void checkResultFree(PGresult * res, int expected, int alternative = -1) const;
+ ResultPtr checkResult(PGresult * res, int expected, int alternative = -1) const;
PGconn * conn;
mutable PreparedStatements preparedStatements;