File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -997,21 +997,13 @@ struct OperationState {
997997 if (!properties) {
998998 T *p = new T{};
999999 properties = p;
1000- #if defined(__clang__) && __has_warning("-Wdangling-assignment-gsl")
1001- #pragma clang diagnostic push
1002- // https://github.com/llvm/llvm-project/issues/126600
1003- #pragma clang diagnostic ignored "-Wdangling-assignment-gsl"
1004- #endif
10051000 propertiesDeleter = [](OpaqueProperties prop) {
10061001 delete prop.as <const T *>();
10071002 };
1008- propertiesSetter = [](OpaqueProperties newProp ,
1003+ propertiesSetter = [](OpaqueProperties new_prop ,
10091004 const OpaqueProperties prop) {
1010- *newProp .as <T *>() = *prop.as <const T *>();
1005+ *new_prop .as <T *>() = *prop.as <const T *>();
10111006 };
1012- #if defined(__clang__) && __has_warning("-Wdangling-assignment-gsl")
1013- #pragma clang diagnostic pop
1014- #endif
10151007 propertiesId = TypeID::get<T>();
10161008 }
10171009 assert (propertiesId == TypeID::get<T>() && " Inconsistent properties" );
You can’t perform that action at this time.
0 commit comments