summaryrefslogtreecommitdiffstats
path: root/src/messages/MOSDRepOp.h
diff options
context:
space:
mode:
authorPatrick Donnelly <pdonnell@redhat.com>2019-01-09 20:42:11 +0100
committerPatrick Donnelly <pdonnell@redhat.com>2019-01-09 23:59:17 +0100
commita994b3769588a807db9639f7219c1f18277d639d (patch)
tree8c71f4aaedd55717fe14c22786e67dd13f725b15 /src/messages/MOSDRepOp.h
parentMerge pull request #25816 from neha-ojha/wip-36686 (diff)
downloadceph-a994b3769588a807db9639f7219c1f18277d639d.tar.xz
ceph-a994b3769588a807db9639f7219c1f18277d639d.zip
*: use std::string_view instead of char ptr
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Diffstat (limited to 'src/messages/MOSDRepOp.h')
-rw-r--r--src/messages/MOSDRepOp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages/MOSDRepOp.h b/src/messages/MOSDRepOp.h
index 0e587c48d74..9d087f391e6 100644
--- a/src/messages/MOSDRepOp.h
+++ b/src/messages/MOSDRepOp.h
@@ -163,7 +163,7 @@ private:
~MOSDRepOp() override {}
public:
- const char *get_type_name() const override { return "osd_repop"; }
+ std::string_view get_type_name() const override { return "osd_repop"; }
void print(ostream& out) const override {
out << "osd_repop(" << reqid
<< " " << pgid << " e" << map_epoch << "/" << min_epoch;