]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
erasure-code/clay: simplify shared_ptr assignment using reset() 64223/head
authorKefu Chai <tchaikov@gmail.com>
Fri, 27 Jun 2025 03:23:24 +0000 (11:23 +0800)
committerKefu Chai <tchaikov@gmail.com>
Fri, 27 Jun 2025 03:32:07 +0000 (11:32 +0800)
commit9551dfa3d5b2e7a7e95782e09314efc34237bae8
tree4846059d6f03149b1fdf6cf3e8f452f2a8085f4b
parentd882b8392fda9bc30f31c680551fbf3b9c3e8c3d
erasure-code/clay: simplify shared_ptr assignment using reset()

Replace shared_ptr construction with direct reset() call for cleaner,
more readable code.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/erasure-code/clay/ErasureCodePluginClay.cc