aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/binding.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-04-23 16:48:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-04-23 16:48:01 +0200
commit851cbe3927b987ec992bbbb69bd62224bf4a0dc3 (patch)
tree278298c656c75b1625e9408a15e81736c35c194e /odb/sqlite/binding.hxx
parent7d52205f2b2fc9403b9ea46483e8a17746c6be35 (diff)
Polymorphic inheritance support
Diffstat (limited to 'odb/sqlite/binding.hxx')
-rw-r--r--odb/sqlite/binding.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/sqlite/binding.hxx b/odb/sqlite/binding.hxx
index cb5e24c..f55d48a 100644
--- a/odb/sqlite/binding.hxx
+++ b/odb/sqlite/binding.hxx
@@ -23,6 +23,8 @@ namespace odb
public:
typedef sqlite::bind bind_type;
+ binding (): bind (0), count (0), version (0) {}
+
binding (bind_type* b, std::size_t n)
: bind (b), count (n), version (0)
{