diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-10-07 18:21:39 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-10-07 18:21:39 +0200 |
commit | 3f7e8da389c3b035fd95d37522f0bd60fe4b20cc (patch) | |
tree | d0809a75d423084bc036401588918a725e3992c3 /odb/mysql/result.txx | |
parent | 88321141b4c77c03c5654eb5eb13dccf766806cc (diff) |
Add support for persistent classes without default ctors
New test: common/ctor.
Diffstat (limited to 'odb/mysql/result.txx')
-rw-r--r-- | odb/mysql/result.txx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/odb/mysql/result.txx b/odb/mysql/result.txx index 329b75a..fb316b5 100644 --- a/odb/mysql/result.txx +++ b/odb/mysql/result.txx @@ -24,18 +24,6 @@ namespace odb template <typename T> void result_impl<T>:: - current () - { - if (!this->end_) - { - pointer_type p (traits::create ()); - current (p); - traits::init (pointer_traits::get_ref (p), statements_.image ()); - } - } - - template <typename T> - void result_impl<T>:: current (T& x) { if (!this->end_) |