Skip to content

Commit e2c52de

Browse files
Drop deallocate, use deallocate_n instead
1 parent 9416d8a commit e2c52de

File tree

1 file changed

+1
-1
lines changed
  • include/fast_io_dsal/impl

1 file changed

+1
-1
lines changed

include/fast_io_dsal/impl/list.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ class list
457457
}
458458
else
459459
{
460-
typed_allocator_type::deallocate(ptr);
460+
typed_allocator_type::deallocate_n(ptr, 1);
461461
}
462462
}
463463
};

0 commit comments

Comments
 (0)