From b6f6e4cbbff4681550b3b163b5d4ab2c3ba44819 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 29 Aug 2014 12:06:46 +0200 Subject: Pass non-const image to clone_image(), copy_image() This is necessary since some databases need to steal stuff from the original image (e.g., LOB descriptors in Oracle). --- odb/relational/inline.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odb/relational/inline.hxx') diff --git a/odb/relational/inline.hxx b/odb/relational/inline.hxx index d1a4393..ed10e09 100644 --- a/odb/relational/inline.hxx +++ b/odb/relational/inline.hxx @@ -510,7 +510,7 @@ namespace relational os << "inline" << endl << traits << "::image_type*" << endl << traits << "::" << endl - << "clone_image (const image_type& i)" + << "clone_image (image_type& i)" << "{"; if (poly_derived) @@ -528,7 +528,7 @@ namespace relational // os << "inline" << endl << "void " << traits << "::" << endl - << "copy_image (image_type& d, const image_type& s)" + << "copy_image (image_type& d, image_type& s)" << "{"; if (poly_derived) -- cgit v1.1