From 6f70eeec9401f385c8122445eedb53602a002830 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 25 Mar 2011 16:50:19 +0200 Subject: 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. --- odb/details/shared-ptr.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'odb/details/shared-ptr.hxx') 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 +#include #include namespace odb -- cgit v1.1