[SIC] Make non-const the QRegExp methods that modify the internals
authorThiago Macieira <thiago.macieira@intel.com>
Fri, 20 Apr 2012 14:50:36 +0000 (16:50 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sat, 28 Apr 2012 17:42:51 +0000 (19:42 +0200)
commit75a0c7f9b52cde47f20fdc1b89e1264d60350848
treef8869a328f2205bd9027b0580f49f3cf9bd60a85
parent00b961c37f82977615ab9c4d03e185229cc55154
[SIC] Make non-const the QRegExp methods that modify the internals

These methods modify QRegExp internals and should not have been
const. It's actually dangerous to have them const, since users may
think it's safe to use the matching method in a thread-safe manner.

Task-number: QTBUG-25064
Change-Id: Ia370eb42fd0407a94924f420297c5e83d3908214
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
dist/changes-5.0.0
src/corelib/tools/qregexp.cpp
src/corelib/tools/qregexp.h