From: Sage Weil Date: Mon, 20 Feb 2017 19:19:07 +0000 (-0500) Subject: osd/PGBackend: take const where we can X-Git-Tag: v12.0.1~279^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b8e7b108b23720395ff3958358dbf407e3c0e36c;p=ceph.git osd/PGBackend: take const where we can Signed-off-by: Sage Weil --- diff --git a/src/osd/PGBackend.h b/src/osd/PGBackend.h index 5de2cf1e04a8..79989d00f372 100644 --- a/src/osd/PGBackend.h +++ b/src/osd/PGBackend.h @@ -185,7 +185,7 @@ typedef ceph::shared_ptr OSDMapRef; virtual ObjectContextRef get_obc( const hobject_t &hoid, - map &attrs) = 0; + const map &attrs) = 0; virtual bool try_lock_for_read( const hobject_t &hoid, @@ -202,7 +202,7 @@ typedef ceph::shared_ptr OSDMapRef; virtual void log_operation( const vector &logv, - boost::optional &hset_history, + const boost::optional &hset_history, const eversion_t &trim_to, const eversion_t &roll_forward_to, bool transaction_applied,