aboutsummaryrefslogtreecommitdiff
path: root/odb/details/shared-ptr.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-03-25 16:50:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-03-25 16:53:36 +0200
commit6f70eeec9401f385c8122445eedb53602a002830 (patch)
tree18f0304a133d9a1d3a3c701aefd1e459711c9e0e /odb/details/shared-ptr.hxx
parent58a02e9c923fbc9b8f59c5b52ec7c8c55adffa31 (diff)
Add support for forward-declaring shared_base-based types
The forward declaration must specialize the counter_type template to explicitly specify shared_base as the counter type.
Diffstat (limited to 'odb/details/shared-ptr.hxx')
-rw-r--r--odb/details/shared-ptr.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/odb/details/shared-ptr.hxx b/odb/details/shared-ptr.hxx
index bfe48cf..c795318 100644
--- a/odb/details/shared-ptr.hxx
+++ b/odb/details/shared-ptr.hxx
@@ -8,6 +8,7 @@
#include <odb/pre.hxx>
+#include <odb/details/shared-ptr-fwd.hxx>
#include <odb/details/shared-ptr/base.hxx>
namespace odb