aboutsummaryrefslogtreecommitdiff
path: root/odb/details/shared-ptr/base.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-08-14 09:37:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-11-11 10:27:11 +0200
commitded152cfb675537ab4ce24f50d0e95cec5b83b18 (patch)
treec5571f283fa6c0a5735ea4716b0592d9d3b8169d /odb/details/shared-ptr/base.hxx
parent6375147d5ae76a84dd64f1996cb0d9d501839db6 (diff)
Draft implementation for INSERT
Diffstat (limited to 'odb/details/shared-ptr/base.hxx')
-rw-r--r--odb/details/shared-ptr/base.hxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/odb/details/shared-ptr/base.hxx b/odb/details/shared-ptr/base.hxx
index 6cfe1c9..b16bc8b 100644
--- a/odb/details/shared-ptr/base.hxx
+++ b/odb/details/shared-ptr/base.hxx
@@ -10,7 +10,6 @@
#include <new>
#include <cstddef> // std::size_t
-#include <odb/exception.hxx>
#include <odb/details/export.hxx>
#include <odb/details/shared-ptr/counter-type.hxx>
@@ -45,12 +44,6 @@ namespace odb
{
namespace details
{
- struct LIBODB_EXPORT not_shared: exception
- {
- virtual const char*
- what () const throw ();
- };
-
class LIBODB_EXPORT shared_base
{
public:
@@ -69,6 +62,9 @@ namespace odb
_ref_count () const;
void*
+ operator new (std::size_t) throw (std::bad_alloc);
+
+ void*
operator new (std::size_t, share) throw (std::bad_alloc);
void