]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
MOSDOp: The functions are returned by const ref and parameters passed by ref
authorSomnath Roy <somnath.roy@sandisk.com>
Fri, 27 Jun 2014 01:35:35 +0000 (18:35 -0700)
committerSomnath Roy <somnath.roy@sandisk.com>
Fri, 27 Jun 2014 01:35:35 +0000 (18:35 -0700)
commit1c93c61c11b6a4fcda88538f2216cadd4f9d66ff
tree1291a9fa2ea33ea640df61e625ab83624152a896
parent94e1b7762477d8216becb650345343da4efb6250
MOSDOp: The functions are returned by const ref and parameters passed by ref

get_snapid(),get_snap_seq,get_pg,get_object_locator,get_version are returning
by reference and the corresponding setter is accepting the param by reference.
MOSDOp constructor is is accepting pg_t  by reference now.

Signed-off-by: Somnath Roy <somnath.roy@sandisk.com>
src/messages/MOSDOp.h