]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/rgw_rados.cc: : use empty() to check for emptiness
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 13 Feb 2013 17:40:23 +0000 (18:40 +0100)
committerGreg Farnum <greg@inktank.com>
Thu, 14 Feb 2013 18:27:39 +0000 (10:27 -0800)
commitdfe1b452376e2debe58683154801f963310f736b
tree8592a0b41382cc90e3d676d1e925bc0e857a37f6
parent005fe42cbe8e747ba8366bb5f4ccb85a6387fc2f
rgw/rgw_rados.cc: : use empty() to check for emptiness

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

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