]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/ReplicatedPG.h: add const to operator<< param 9490/head
authorMichal Jarzabek <stiopa@gmail.com>
Fri, 3 Jun 2016 21:24:38 +0000 (22:24 +0100)
committerMichal Jarzabek <stiopa@gmail.com>
Fri, 3 Jun 2016 21:28:57 +0000 (22:28 +0100)
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
src/osd/ReplicatedPG.h

index d076720be7313cd5f28366872cc7517de959f860..a150eab20b1fdfc18828f36e80eb069dead01a77 100644 (file)
@@ -1654,7 +1654,7 @@ public:
     bool user_only = false);
 };
 
-inline ostream& operator<<(ostream& out, ReplicatedPG::RepGather& repop)
+inline ostream& operator<<(ostream& out, const ReplicatedPG::RepGather& repop)
 {
   out << "repgather(" << &repop
       << " " << repop.v
@@ -1665,7 +1665,8 @@ inline ostream& operator<<(ostream& out, ReplicatedPG::RepGather& repop)
   return out;
 }
 
-inline ostream& operator<<(ostream& out, ReplicatedPG::ProxyWriteOpRef pwop)
+inline ostream& operator<<(ostream& out,
+                          const ReplicatedPG::ProxyWriteOpRef& pwop)
 {
   out << "proxywrite(" << &pwop
       << " " << pwop->user_version