]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os: Use operator[] in CyanStore when inserting values to object omap
authorAmnon Hanuhov <amnonswe@gmail.com>
Wed, 25 Aug 2021 06:22:30 +0000 (09:22 +0300)
committerAmnon Hanuhov <amnonswe@gmail.com>
Wed, 25 Aug 2021 06:22:30 +0000 (09:22 +0300)
commit65d0ec3c963bde990d9e3ab65d0d603d793aff0b
treed996d6c6047e892fe0ee7abcc3a055e6dd80da36
parent7e7ba588ccab0918b7579d8ca67bbd49b2a81a22
crimson/os: Use operator[] in CyanStore when inserting values to object omap

std::map::insert() doesn't update the value associated with an existing
key, therefore we should use operator[] instead

Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
src/crimson/os/cyanstore/cyan_store.cc