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 77ebff6 commit 82bc0e6Copy full SHA for 82bc0e6
src/ds/aba.h
@@ -85,6 +85,13 @@ namespace snmalloc
85
Linked old;
86
ABA* parent;
87
88
+ /*
89
+ * MSVC apparently does not like the implicit constructor it creates when
90
+ * asked to interpret its input as C++20; it rejects the construction up
91
+ * in read(), above. Help it out by making the constructor explicit.
92
+ */
93
+ Cmp(Linked old, ABA* parent) : old(old), parent(parent) {}
94
+
95
T* ptr()
96
{
97
return old.ptr;
0 commit comments