summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qregularexpression.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-07-16 17:43:34 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2020-07-20 16:06:28 +0200
commitc7f277483aa56e2b33b9ffb42ffe2a28a0e2f4c6 (patch)
tree2a7bad0d2a1ab8d43a8bbd66676a77bb5eb5f9ff /src/corelib/text/qregularexpression.cpp
parentf12132ff23128435d80af9d812e2408cf191d1e8 (diff)
QRegularExpression: Purge deprecated PatternOption members
They've been no-ops since (at least) 5.12. At the same time, save future readers the need to git blame to find out how long the other deprecated enum name is. Change-Id: I2081ba2859c6540651b6f6807cc6bd59890bfce5 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/corelib/text/qregularexpression.cpp')
-rw-r--r--src/corelib/text/qregularexpression.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/corelib/text/qregularexpression.cpp b/src/corelib/text/qregularexpression.cpp
index 44bdc2e463..db0f6907bb 100644
--- a/src/corelib/text/qregularexpression.cpp
+++ b/src/corelib/text/qregularexpression.cpp
@@ -2651,13 +2651,6 @@ QDebug operator<<(QDebug debug, QRegularExpression::PatternOptions patternOption
flags.append("DontCaptureOption|");
if (patternOptions & QRegularExpression::UseUnicodePropertiesOption)
flags.append("UseUnicodePropertiesOption|");
-QT_WARNING_PUSH
-QT_WARNING_DISABLE_DEPRECATED
- if (patternOptions & QRegularExpression::OptimizeOnFirstUsageOption)
- flags.append("OptimizeOnFirstUsageOption|");
- if (patternOptions & QRegularExpression::DontAutomaticallyOptimizeOption)
- flags.append("DontAutomaticallyOptimizeOption|");
-QT_WARNING_POP
flags.chop(1);
}