From 3f7e8da389c3b035fd95d37522f0bd60fe4b20cc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 7 Oct 2010 18:21:39 +0200 Subject: Add support for persistent classes without default ctors New test: common/ctor. --- odb/mysql/result.hxx | 3 --- odb/mysql/result.txx | 12 ------------ 2 files changed, 15 deletions(-) diff --git a/odb/mysql/result.hxx b/odb/mysql/result.hxx index 15bcb5d..8c2469f 100644 --- a/odb/mysql/result.hxx +++ b/odb/mysql/result.hxx @@ -35,9 +35,6 @@ namespace odb object_statements& statements); virtual void - current (); - - virtual void current (T&); virtual void 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 void result_impl:: - current () - { - if (!this->end_) - { - pointer_type p (traits::create ()); - current (p); - traits::init (pointer_traits::get_ref (p), statements_.image ()); - } - } - - template - void result_impl:: current (T& x) { if (!this->end_) -- cgit v1.1