diff --git a/source/blender/blenkernel/BKE_bake_items_serialize.hh b/source/blender/blenkernel/BKE_bake_items_serialize.hh index 2740a98d972..4f73b20e9f8 100644 --- a/source/blender/blenkernel/BKE_bake_items_serialize.hh +++ b/source/blender/blenkernel/BKE_bake_items_serialize.hh @@ -81,7 +81,7 @@ class BlobWriteSharing : NonCopyable, NonMovable { * identifier for later use. * \return Identifier that indicates from where the data has been written. */ - [[nodiscard]] std::shared_ptr write_shared( + [[nodiscard]] std::shared_ptr write_implicitly_shared( const ImplicitSharingInfo *sharing_info, FunctionRef()> write_fn); }; diff --git a/source/blender/blenkernel/intern/bake_items_serialize.cc b/source/blender/blenkernel/intern/bake_items_serialize.cc index b2d3ad96d89..55c36c21c9d 100644 --- a/source/blender/blenkernel/intern/bake_items_serialize.cc +++ b/source/blender/blenkernel/intern/bake_items_serialize.cc @@ -103,8 +103,8 @@ BlobReadSharing::~BlobReadSharing() } } -DictionaryValuePtr BlobWriteSharing::write_shared(const ImplicitSharingInfo *sharing_info, - FunctionRef write_fn) +DictionaryValuePtr BlobWriteSharing::write_implicitly_shared( + const ImplicitSharingInfo *sharing_info, FunctionRef write_fn) { if (sharing_info == nullptr) { return write_fn(); @@ -326,8 +326,8 @@ static std::shared_ptr write_blob_shared_simple_gspan( const GSpan data, const ImplicitSharingInfo *sharing_info) { - return blob_sharing.write_shared(sharing_info, - [&]() { return write_blob_simple_gspan(blob_writer, data); }); + return blob_sharing.write_implicitly_shared( + sharing_info, [&]() { return write_blob_simple_gspan(blob_writer, data); }); } [[nodiscard]] static const void *read_blob_shared_simple_gspan(