Skip to content

Commit 98a1f58

Browse files
committed
always include algorithm memory headers
1 parent 067ed66 commit 98a1f58

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

include/fast_io_dsal/impl/deque.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ class deque FAST_IO_TRIVIALLY_RELOCATABLE_IF_ELIGIBLE
10361036
{
10371037
auto destit{controller.front_block.controller_ptr};
10381038
auto pos{fromcontroller.front_block.curr_ptr - fromcontroller.front_block.begin_ptr};
1039-
::std::uninitialized_copy(
1039+
::fast_io::freestanding::uninitialized_copy(
10401040
fromcontroller.front_block.curr_ptr,
10411041
fromcontroller.front_block.end_ptr,
10421042
(controller.front_block.curr_ptr =
@@ -1047,16 +1047,16 @@ class deque FAST_IO_TRIVIALLY_RELOCATABLE_IF_ELIGIBLE
10471047
for (pointer *it{front_controller_ptr + 1}, *ed{back_controller_ptr}; it != ed; ++it)
10481048
{
10491049
pointer blockptr{*it};
1050-
::std::uninitialized_copy_n(blockptr, block_size, *destit);
1050+
::fast_io::freestanding::uninitialized_copy_n(blockptr, block_size, *destit);
10511051
this->controller.back_block = {destit, blockptr, blockptr, blockptr + block_size};
10521052
++destit;
10531053
}
10541054
lastblockbegin = fromcontroller.back_block.begin_ptr;
10551055
}
10561056

10571057
dq_back_backup.curr_ptr =
1058-
::std::uninitialized_copy(lastblockbegin,
1059-
fromcontroller.back_block.curr_ptr, dq_back_backup.begin_ptr);
1058+
::fast_io::freestanding::uninitialized_copy(lastblockbegin,
1059+
fromcontroller.back_block.curr_ptr, dq_back_backup.begin_ptr);
10601060

10611061
this->controller.back_block = dq_back_backup;
10621062
destroyer.thiscontroller = nullptr;

0 commit comments

Comments
 (0)