You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
msvc:
https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/c5267
Similar to neighboring C4625
Fix for warnings (errors in /WX mode) like
.../variant.h(759): warning C5267: definition of implicit copy constructor for '...' is deprecated because it has a user-provided destructor
(ditto for tuple).
Also fix for -Wunused-parameter in variant.h (`visit_throw_bad_variant_access`)
Copy file name to clipboardExpand all lines: include/EASTL/tuple.h
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@
16
16
EA_DISABLE_VC_WARNING(4623) // warning C4623: default constructor was implicitly defined as deleted
17
17
EA_DISABLE_VC_WARNING(4625) // warning C4625: copy constructor was implicitly defined as deleted
18
18
EA_DISABLE_VC_WARNING(4510) // warning C4510: default constructor could not be generated
19
+
EA_DISABLE_VC_WARNING(5267) // warning C5267: definition of implicit copy constructor for '...' is deprecated because it has a user-provided assignment operator
0 commit comments