Skip to content

Commit b53b785

Browse files
committed
comment out allochdl move operations
1 parent 67686ba commit b53b785

File tree

1 file changed

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

1 file changed

+6
-1
lines changed

include/fast_io_dsal/impl/list.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,10 @@ class list
907907
}
908908

909909
inline constexpr list(list &&other) noexcept
910-
: imp(other.imp), allochdl(std::move(other.allochdl))
910+
: imp(other.imp)
911+
#if 0
912+
, allochdl(std::move(other.allochdl))
913+
#endif
911914
{
912915
auto prev = static_cast<::fast_io::containers::details::list_node_common *>(imp.prev);
913916
auto next = static_cast<::fast_io::containers::details::list_node_common *>(imp.next);
@@ -921,7 +924,9 @@ class list
921924
{
922925
this->destroy();
923926
imp = other.imp;
927+
#if 0
924928
allochdl = ::std::move(other.allochdl);
929+
#endif
925930
auto prev = static_cast<::fast_io::containers::details::list_node_common *>(imp.prev);
926931
auto next = static_cast<::fast_io::containers::details::list_node_common *>(imp.next);
927932
next->prev = prev->next = __builtin_addressof(imp);

0 commit comments

Comments
 (0)