From: Radoslaw Zarzynski Date: Tue, 11 Sep 2018 11:37:11 +0000 (+0200) Subject: common: make the get_data() of buffer_raw interface final. X-Git-Tag: v14.0.1~273^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a9ff787071733e6c5d8a18ff5928bbd4f547f2c2;p=ceph.git common: make the get_data() of buffer_raw interface final. This is just to ensure the just dropped buffer::raw_pipe was the solely user of this facility. After successful validation, we can drop `virtual` on the method entirely. Signed-off-by: Radoslaw Zarzynski --- diff --git a/src/include/buffer_raw.h b/src/include/buffer_raw.h index 9193439f4f375..262b4a139f60d 100644 --- a/src/include/buffer_raw.h +++ b/src/include/buffer_raw.h @@ -77,7 +77,7 @@ private: raw(const raw &other) = delete; const raw& operator=(const raw &other) = delete; public: - virtual char *get_data() { + virtual char *get_data() final { return data; } virtual raw* clone_empty() = 0;