aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/binding.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/pgsql/binding.hxx')
-rw-r--r--odb/pgsql/binding.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/odb/pgsql/binding.hxx b/odb/pgsql/binding.hxx
index 9bb8d4a..cc68723 100644
--- a/odb/pgsql/binding.hxx
+++ b/odb/pgsql/binding.hxx
@@ -21,7 +21,6 @@ namespace odb
class LIBODB_PGSQL_EXPORT native_binding
{
public:
-
native_binding (char** v,
int* l,
int* f,
@@ -45,6 +44,8 @@ namespace odb
public:
typedef pgsql::bind bind_type;
+ binding (): bind (0), count (0), version (0) {}
+
binding (bind_type* b, std::size_t n)
: bind (b), count (n), version (0)
{