From 87b1371f00f1048380135f58d82ad11f0c076c16 Mon Sep 17 00:00:00 2001 From: Elias Batek Date: Thu, 26 Dec 2024 22:14:26 +0100 Subject: [PATCH] Fix typo(?) This potential typo originates from which was the original PR. But I don't think this is right. D-Scanner is unhappy about it at least. And I assume this functions just lacks test coverage. --- std/experimental/allocator/building_blocks/allocator_list.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/experimental/allocator/building_blocks/allocator_list.d b/std/experimental/allocator/building_blocks/allocator_list.d index 00093436449..c0396422950 100644 --- a/std/experimental/allocator/building_blocks/allocator_list.d +++ b/std/experimental/allocator/building_blocks/allocator_list.d @@ -791,7 +791,7 @@ public: lock.lock(); scope(exit) lock.unlock(); - return assumeUnshared(impl).reallocate(b, delta); + return assumeUnshared(impl).reallocate(b, s); } /**