We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 937643b commit 6c83565Copy full SHA for 6c83565
libcxx/include/string
@@ -741,8 +741,8 @@ public:
741
// is kept inside objects memory (short string optimization), instead of in allocated
742
// external memory. In such cases, the destructor is responsible for unpoisoning
743
// the memory to avoid triggering false positives.
744
- // Therefore it's crucial to ensure the destructor is called
745
- using __trivially_relocatable = false_type;
+ // Therefore it's crucial to ensure the destructor is called.
+ using __trivially_relocatable = void;
746
#else
747
using __trivially_relocatable = __conditional_t<
748
__libcpp_is_trivially_relocatable<allocator_type>::value && __libcpp_is_trivially_relocatable<pointer>::value,
0 commit comments