diff options
author | Radoslaw Zarzynski <rzarzyns@redhat.com> | 2018-09-11 13:37:11 +0200 |
---|---|---|
committer | Radoslaw Zarzynski <rzarzyns@redhat.com> | 2018-09-17 15:34:33 +0200 |
commit | a9ff787071733e6c5d8a18ff5928bbd4f547f2c2 (patch) | |
tree | 8e69208398d65ecb6572c2ddfa7f6b0b655e91fa /src/include/buffer_raw.h | |
parent | common: drop can_zero_copy() from ceph::buffer interfaces. (diff) | |
download | ceph-a9ff787071733e6c5d8a18ff5928bbd4f547f2c2.tar.xz ceph-a9ff787071733e6c5d8a18ff5928bbd4f547f2c2.zip |
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 <rzarzyns@redhat.com>
Diffstat (limited to 'src/include/buffer_raw.h')
-rw-r--r-- | src/include/buffer_raw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/buffer_raw.h b/src/include/buffer_raw.h index 9193439f4f3..262b4a139f6 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; |