]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
MonClient: pass function parameter by reference
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 19 Feb 2014 13:54:02 +0000 (14:54 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 19 Feb 2014 13:54:02 +0000 (14:54 +0100)
commit19dad0313b24863f696d893270171cdd0e18bd0e
tree65ccca011f2a9f5ceb58fe36ffaf037af06d4086
parent314116e2501ab076c1bff20b36c0337bf9405460
MonClient: pass function parameter by reference

[src/mon/MonClient.h:412]: (performance) Function parameter 'mon_name'
  should be passed by reference.

Changed also parameter name in function implementation to match name
in declaration.

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