From: Adam Kupczyk Date: Mon, 15 Jul 2024 06:33:55 +0000 (+0000) Subject: os/bluestore: Writer, fix for clang X-Git-Tag: v20.0.0~1280^2~8 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d2fda6c852dd2f66081f491fd246610203da95eb;p=ceph.git os/bluestore: Writer, fix for clang Clang fails at _construct_at(). Signed-off-by: Adam Kupczyk --- diff --git a/src/os/bluestore/Writer.cc b/src/os/bluestore/Writer.cc index 3accc0f437a7c..0cf7e5c337803 100644 --- a/src/os/bluestore/Writer.cc +++ b/src/os/bluestore/Writer.cc @@ -1245,7 +1245,7 @@ void BlueStore::Writer::_split_data( if (p > end_offset - lof) p = end_offset - lof; bufferlist tmp; data.splice(0, p, &tmp); - bd.emplace_back(p, 0, tmp, tmp); + bd.emplace_back(blob_data_t{p, 0, tmp, tmp}); lof += p; } }