]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/rgw_main.cc: use empty() instead of size() to check for emptiness
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 13 Feb 2013 17:20:39 +0000 (18:20 +0100)
committerGreg Farnum <greg@inktank.com>
Thu, 14 Feb 2013 18:27:39 +0000 (10:27 -0800)
commite980d52c4681ba85374009e7a3125ba05558e8f1
tree3d9aa28d7d84ba6995ab1e379987068b3bd14778
parent6044083920a5b61b3280e82ebee5e52533725e45
rgw/rgw_main.cc: use empty() instead of size() to check for emptiness

Use empty() instead of 'size() == 0' for performance reasons.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/rgw/rgw_main.cc