| 1208 | struct PatternProperty { |
| 1209 | PatternProperty() : schema(), pattern() {} |
| 1210 | ~PatternProperty() { |
| 1211 | if (pattern) { |
| 1212 | pattern->~RegexType(); |
| 1213 | AllocatorType::Free(pattern); |
| 1214 | } |
| 1215 | } |
| 1216 | const SchemaType* schema; |
| 1217 | RegexType* pattern; |
| 1218 | }; |