aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-09-06 16:51:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-09-06 16:51:20 +0200
commit932ae000f66ec5935c368b953da24dfd6cf7581b (patch)
tree58d0eb0a1cb36d311b4b3a3fb1aed0afd9051810
parent017ba71bd4ab26c45de2a27d030bf0010ae0a173 (diff)
Add non-inline destructor
-rw-r--r--odb/mysql/object-statements.hxx6
-rw-r--r--odb/mysql/object-statements.txx6
-rw-r--r--odb/mysql/view-statements.hxx3
-rw-r--r--odb/mysql/view-statements.txx6
4 files changed, 19 insertions, 2 deletions
diff --git a/odb/mysql/object-statements.hxx b/odb/mysql/object-statements.hxx
index cd06010..863271b 100644
--- a/odb/mysql/object-statements.hxx
+++ b/odb/mysql/object-statements.hxx
@@ -141,10 +141,12 @@ namespace odb
bool locked_;
};
- //
- //
+ public:
object_statements (connection_type&);
+ virtual
+ ~object_statements ();
+
// Delayed loading.
//
void
diff --git a/odb/mysql/object-statements.txx b/odb/mysql/object-statements.txx
index 7cf1baa..b124689 100644
--- a/odb/mysql/object-statements.txx
+++ b/odb/mysql/object-statements.txx
@@ -18,6 +18,12 @@ namespace odb
{
template <typename T>
object_statements<T>::
+ ~object_statements ()
+ {
+ }
+
+ template <typename T>
+ object_statements<T>::
object_statements (connection_type& conn)
: object_statements_base (conn),
container_statement_cache_ (conn),
diff --git a/odb/mysql/view-statements.hxx b/odb/mysql/view-statements.hxx
index 5a07b34..ee384e1 100644
--- a/odb/mysql/view-statements.hxx
+++ b/odb/mysql/view-statements.hxx
@@ -38,6 +38,9 @@ namespace odb
public:
view_statements (connection_type&);
+ virtual
+ ~view_statements ();
+
// View image.
//
image_type&
diff --git a/odb/mysql/view-statements.txx b/odb/mysql/view-statements.txx
index 36f5045..e3c89d8 100644
--- a/odb/mysql/view-statements.txx
+++ b/odb/mysql/view-statements.txx
@@ -12,6 +12,12 @@ namespace odb
{
template <typename T>
view_statements<T>::
+ ~view_statements ()
+ {
+ }
+
+ template <typename T>
+ view_statements<T>::
view_statements (connection_type& conn)
: statements_base (conn),
image_binding_ (image_bind_, view_traits::column_count)