Commit 266850a5 authored by Robert Kimball's avatar Robert Kimball

add fix to branch

parent 28f20013
......@@ -51,6 +51,6 @@ public:
ngraph::runtime::Allocator* ngraph::runtime::get_default_allocator()
{
static std::unique_ptr<DefaultAllocator> allocator(new DefaultAllocator());
return allocator.get();
static DefaultAllocator* s_allocator = new DefaultAllocator();
return s_allocator;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment