Avoid stack overflow in make_shared. Refs #4256.

[SVN r83198]
This commit is contained in:
Peter Dimov committed 2013-02-28 08:02:09 +00:00
1 parent 46d119c385
commit 82e178f043
2 files changed
+8 -4

No files matched your search

@@ -87,6 +87,10 @@ public:
destroy();
}
static void operator_fn( T* ) // operator() can't be static
{
}
void * address() BOOST_NOEXCEPT
{
return storage_.data_;