Commit 5abfaebf authored by pruthvi's avatar pruthvi

- remove unique_ptr for static allocation

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