diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-12-06 18:30:55 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-12-07 06:27:07 +0000 |
commit | 2a887a517eaaa2c5324aecf3b919899b7a86ff4a (patch) | |
tree | 0f6d1a7618ac13e9a448dda41388d38ff67b4a82 /src/corelib/serialization/qdatastream_p.h | |
parent | 61f92c0bcedfaad1721bd1c985217c5271e9086c (diff) |
QCalendar: Optimize std::vector accessv5.14.0-rc2v5.14.0
As we assert on the size of the vector before accessing it, there is no
point in using the checked at() method over operator[]. Besides, if at()
throws, what are we going to do with the exception anyway.
Incidentally, this also works around a compiler bug causing binary
incompatibility in QtQml.
Change-Id: I460e7514429daecabc304eb2c5f96ed715008b0a
Fixes: QTBUG-80535
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/serialization/qdatastream_p.h')
0 files changed, 0 insertions, 0 deletions