Commit 221650b3 authored by pruthvi's avatar pruthvi

- move the ownership of the Allocator object to the CPUAllocator

parent ab34197e
......@@ -20,7 +20,7 @@
ngraph::runtime::cpu::CPUAllocator::CPUAllocator(ngraph::runtime::Allocator* allocator,
size_t alignment)
: m_allocator(allocator)
: m_allocator(std::move(allocator))
, m_alignment(alignment)
{
}
......
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