aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/error.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/pgsql/error.hxx')
-rw-r--r--odb/pgsql/error.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/odb/pgsql/error.hxx b/odb/pgsql/error.hxx
index 865cf0d..018c5fd 100644
--- a/odb/pgsql/error.hxx
+++ b/odb/pgsql/error.hxx
@@ -11,17 +11,13 @@
#include <libpq-fe.h>
#include <odb/pgsql/version.hxx>
+#include <odb/pgsql/forward.hxx> // connection
#include <odb/pgsql/details/export.hxx>
namespace odb
{
namespace pgsql
{
- class connection;
-
- LIBODB_PGSQL_EXPORT void
- translate_error (connection&);
-
// Translate an error condition involving a PGresult*. If r is null, it is
// assumed that the error was caused due to a bad connection or a memory
// allocation error.