QRegExp: replace QScopedPointer with std::optional
QRegExpEngine's size is already prety large, and QRegExpCharClass
isn't huge (2 QLists and an int + bool (the latter could probably be
packed into the former), so the space overhead isn't much,
pecentage-wise.
This is in preparation of adding QT_NO_SCOPED_POINTER.
Pick-to: 6.9 6.8
Task-number: QTBUG-132215
Change-Id: I3e71e631231baf6451b70a08ec6a288b369c6e49
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
| commit | 50b8f5b5338492a69325b22cb29f1936553937ff |
| parent | 9f8bfaa8cb8ad2735879599304f09094763d2b9c |
| author | Marc Mutz <marc.mutz@qt.io> |
| committer | Marc Mutz <marc.mutz@qt.io> |
| commit time | Wed, 18 Dec 2024 08:24:24 +0100 |