Disallow copying ConflictSet in C++98/C++03 #51

Merged
andrew merged 2 commits from weaselbot/conflict-set:weaselbot/issue-48 into main 2026-06-22 23:45:01 +00:00
Showing only changes of commit ccd637deab - Show all commits
+1 -1
View File
@@ -132,7 +132,7 @@ struct __attribute__((__visibility__("default"))) ConflictSet {
private:
Impl *impl;
#if defined(__cplusplus) && __cplusplus <= 199711L
#if __cplusplus <= 199711L
/* Declared private and left undefined to prevent copying in C++98/C++03.
The compiler would otherwise implicitly generate public copy operations,
which share the opaque Impl* and cause a double-free. */