Skip to content

Commit b992cfe

Browse files
Fix deallocate method for MapAllocator (#38)
Co-authored-by: Serhii Malyi <maliy.sergey@apriorit.com>
1 parent 263d1b2 commit b992cfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/kf/MapAllocator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ namespace kf
5959

6060
void deallocate(T* buf, std::size_t)
6161
{
62-
delete buf;
62+
operator delete(buf);
6363
}
6464

6565
[[nodiscard]] bool prepareMemory(std::size_t size)

0 commit comments

Comments
 (0)