aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/binding.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-03-21 08:37:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-04-23 16:49:43 +0200
commit290d22210040a7b373e2dc9084240cdeffa1fa3a (patch)
tree78f090fe5d9da0e4b1d486a39c605c784637b67f /odb/mssql/binding.hxx
parentc1b8b6f16e4881e57aa0da67e6f09ad71ee6099d (diff)
Polymorphic inheritance support
Diffstat (limited to 'odb/mssql/binding.hxx')
-rw-r--r--odb/mssql/binding.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/mssql/binding.hxx b/odb/mssql/binding.hxx
index 48f9679..1bbf258 100644
--- a/odb/mssql/binding.hxx
+++ b/odb/mssql/binding.hxx
@@ -24,6 +24,8 @@ namespace odb
typedef mssql::bind bind_type;
typedef mssql::change_callback change_callback_type;
+ binding (): bind (0), count (0), version (0), change_callback (0) {}
+
binding (bind_type* b, std::size_t n)
: bind (b), count (n), version (0), change_callback (0)
{