diff options
author | Kayo Hamid <kayo.hamid@gekkolinux.com.br> | 2011-04-22 11:31:13 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2011-04-22 11:31:13 +0200 |
commit | 9ab9d69c7da783d0c528ce58f9c8af54990eae6c (patch) | |
tree | 6061b1a6120979d3fb91231a2e01aa2749346990 /comphelper | |
parent | cdc7c5772ac216f6fd91ead7d8d57fd0ad03a0aa (diff) |
cppcheck inefficient checking for emptiness
From cppcheck: Using xxxx.empty() instead of xxxx.size() can be faster.
xxxx.size() can take linear time but xxxx.empty() is guaranteed to take
constant time
Diffstat (limited to 'comphelper')
0 files changed, 0 insertions, 0 deletions