diff options
author | Alessandro Portale <aportale@trolltech.com> | 2009-05-19 17:13:39 (GMT) |
---|---|---|
committer | Alessandro Portale <aportale@trolltech.com> | 2009-05-19 17:16:53 (GMT) |
commit | 515916da3ddd0e7a7fc1b7c4e6d2e17d3576b803 (patch) | |
tree | ef1b901b35f5bc5fdcc7a1ca25b27281d2afabce /configure.exe | |
parent | 2f37788e164bcf4c179e5603c1e9d9a5c5bcd6cc (diff) | |
download | Qt-515916da3ddd0e7a7fc1b7c4e6d2e17d3576b803.zip Qt-515916da3ddd0e7a7fc1b7c4e6d2e17d3576b803.tar.gz Qt-515916da3ddd0e7a7fc1b7c4e6d2e17d3576b803.tar.bz2 |
Testing 'dictionary' if it contains a value before using operator[].
T & QMap::operator[]: "If the map contains no item with key key, the
function inserts a default-constructed value into the map with key key,
and returns a reference to it"
How many occurences of 'dictionary["foo"].startsWith("bar")' has that
file by the way?
Diffstat (limited to 'configure.exe')
0 files changed, 0 insertions, 0 deletions