]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Client: remove a std::string::c_str() calls
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 19 Feb 2014 15:24:27 +0000 (16:24 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 19 Feb 2014 15:24:27 +0000 (16:24 +0100)
commit8488e71053a9ab07e4933e7c96b5eb9a4f45b888
tree83919caa200e5dbc2ca6b3b35ca7e2e1890f0f68
parent1099e255b382cdb14bc8d70b87aa51c8099b3727
Client: remove a std::string::c_str() calls

[src/client/Client.cc:6821]: (performance) Passing the result of c_str() to a
  function that takes std::string as argument no. 2 is slow and redundant.

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