]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
CrushWrapper.cc: remove some std::string::c_str() calls 145/head
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 26 Mar 2013 11:46:46 +0000 (12:46 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 26 Mar 2013 11:46:46 +0000 (12:46 +0100)
commitf957e72345b439f574ff51862e53a9f98f02e714
treed2dcd7ce99ec2dcefeaaa92e1e866bd7b7041f2e
parentffe8235f3469503ca415c85d83567a01bd261618
CrushWrapper.cc: remove some std::string::c_str() calls

Passing the result of c_str() to a function that takes
std::string as argument is slow and redundant.

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