]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test_filejournal.cc: use empty() to check for emptiness
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 13 Feb 2013 18:11:22 +0000 (19:11 +0100)
committerGreg Farnum <greg@inktank.com>
Thu, 14 Feb 2013 18:27:40 +0000 (10:27 -0800)
commit18348857c4d469c88ad9012dda0b1fa67e4f6b40
treea8641eb97b271959ff77fcddfa15ffe8f100c816
parentf9bf1275d0ba77184cb2dc6b519c13c60d38d18e
test_filejournal.cc: use empty() to check for emptiness

Use !empty() instead of size() to check for emptiness for
performance reasons.

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