Fixes #47: ("MSVC C5243: 'member_function_ptr': using incomplete class can cause potential ODR violation ...")

This commit is contained in:
Ion Gaztañaga
2021-12-26 22:25:05 +01:00
parent 9505c4cc59
commit dc9edc458c
2 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -1102,7 +1102,7 @@ struct alignment_of
class alignment_dummy;
typedef void (*function_ptr)();
typedef int (alignment_dummy::*member_ptr);
typedef int (alignment_dummy::*member_function_ptr)();
struct alignment_struct
{ long double dummy[4]; };
@@ -1125,7 +1125,6 @@ union max_align
long double long_double_[4];
alignment_dummy *unknown_class_ptr_;
function_ptr function_ptr_;
member_function_ptr member_function_ptr_;
alignment_struct alignment_struct_;
};