]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_mon.cc: replace string::find() with compare()
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 16 Sep 2015 09:11:13 +0000 (11:11 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 29 Jan 2016 20:51:17 +0000 (21:51 +0100)
commitfd8f18ac35030b9c642bf68cde13ebb6c6400979
tree95fb967f78915f5b1a893ea08e34928178eb90e8
parent30162870fdafead4f3db6942627e227e2a057e0b
ceph_mon.cc: replace string::find() with compare()

Fix for:

[src/ceph_mon.cc:396]: (performance) Inefficient usage of string::find()
 in condition; string::compare() would be faster.

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