aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-10-07 18:21:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-10-07 18:21:39 +0200
commit3f7e8da389c3b035fd95d37522f0bd60fe4b20cc (patch)
treed0809a75d423084bc036401588918a725e3992c3
parent88321141b4c77c03c5654eb5eb13dccf766806cc (diff)
Add support for persistent classes without default ctors
New test: common/ctor.
-rw-r--r--odb/mysql/result.hxx3
-rw-r--r--odb/mysql/result.txx12
2 files changed, 0 insertions, 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<T>& 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 <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_)