diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-08-14 09:37:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-11 10:27:11 +0200 |
commit | ded152cfb675537ab4ce24f50d0e95cec5b83b18 (patch) | |
tree | c5571f283fa6c0a5735ea4716b0592d9d3b8169d /odb/details/shared-ptr/base.ixx | |
parent | 6375147d5ae76a84dd64f1996cb0d9d501839db6 (diff) |
Draft implementation for INSERT
Diffstat (limited to 'odb/details/shared-ptr/base.ixx')
-rw-r--r-- | odb/details/shared-ptr/base.ixx | 6 |
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); |