Skip to content

Commit e4599b9

Browse files
author
Marius Muja
committed
Add dummy delete operator
1 parent 7e58d18 commit e4599b9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/cpp/flann/util/allocator.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,4 +199,9 @@ inline void* operator new (std::size_t size, flann::PooledAllocator& allocator)
199199
return allocator.allocateMemory(size) ;
200200
}
201201

202+
inline void operator delete(void* p, flann::PooledAllocator& allocator)
203+
{
204+
}
205+
206+
202207
#endif //FLANN_ALLOCATOR_H_

0 commit comments

Comments
 (0)