aboutsummaryrefslogtreecommitdiff
path: root/odb/details/shared-ptr/base.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/details/shared-ptr/base.ixx')
-rw-r--r--odb/details/shared-ptr/base.ixx6
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/details/shared-ptr/base.ixx b/odb/details/shared-ptr/base.ixx
index 53105ce..c5beec6 100644
--- a/odb/details/shared-ptr/base.ixx
+++ b/odb/details/shared-ptr/base.ixx
@@ -64,6 +64,12 @@ namespace odb
}
inline void* shared_base::
+ operator new (std::size_t n) throw (std::bad_alloc)
+ {
+ return ::operator new (n);
+ }
+
+ inline void* shared_base::
operator new (std::size_t n, share) throw (std::bad_alloc)
{
return ::operator new (n);