diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-04-23 16:48:02 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-04-23 16:48:02 +0200 |
commit | 40267e1f40de8ea216688886ab1df1c7ec50e2b2 (patch) | |
tree | 046030dabdd352808c71cf1f2a9bfed706e86c2a /odb/pgsql/binding.hxx | |
parent | 3405fff26a02b5bee51686c5d22200be320b87d8 (diff) |
Polymorphic inheritance support
Diffstat (limited to 'odb/pgsql/binding.hxx')
-rw-r--r-- | odb/pgsql/binding.hxx | 3 |
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) { |