Commit 5abfaebf authored by pruthvi's avatar pruthvi

- remove unique_ptr for static allocation

parent 93e87596
......@@ -51,7 +51,6 @@ public:
ngraph::runtime::Allocator* ngraph::runtime::get_ngraph_allocator()
{
static std::unique_ptr<ngraph::runtime::DefaultAllocator> allocator(
new ngraph::runtime::DefaultAllocator());
return allocator.get();
auto allocator = new ngraph::runtime::DefaultAllocator();
return 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