[libcxx-commits] [libcxx] [libcxx] LWG4172 fix self-move-assignment in {unique|shared}_lock (PR #129542)

Mohamed Atef via libcxx-commits libcxx-commits at lists.llvm.org
Mon Dec 8 15:47:29 PST 2025


================
@@ -15,13 +15,16 @@
 #include <__memory/addressof.h>
 #include <__mutex/tag_types.h>
 #include <__system_error/throw_system_error.h>
+#include <__utility/move.h>
 #include <__utility/swap.h>
 #include <cerrno>
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
 #endif
 
+_LIBCPP_PUSH_MACROS
+#include <__undef_macros>
 _LIBCPP_BEGIN_NAMESPACE_STD
----------------
elhewaty wrote:

@H-G-Hristov,
Any hint about the crashes?

https://github.com/llvm/llvm-project/pull/129542


More information about the libcxx-commits mailing list