aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/inline.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/inline.hxx')
-rw-r--r--odb/relational/inline.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/odb/relational/inline.hxx b/odb/relational/inline.hxx
index 466e348..24e3a08 100644
--- a/odb/relational/inline.hxx
+++ b/odb/relational/inline.hxx
@@ -305,7 +305,8 @@ namespace relational
// erase (object_type)
//
- if (id != 0 && !poly && optimistic == 0)
+ if (id != 0 && !poly && optimistic == 0 &&
+ !has_a (c, test_smart_container))
{
os << "inline" << endl
<< "void " << traits << "::" << endl