]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/dbstore: Cleanup - use unique_ptr instead of new/delete in DBZone 60288/head
authorOshrey Avraham <oshrey16@gmail.com>
Sun, 13 Oct 2024 16:27:43 +0000 (19:27 +0300)
committerOshrey Avraham <oshrey16@gmail.com>
Sun, 13 Oct 2024 16:27:43 +0000 (19:27 +0300)
commitf7e2ca021109f4204bab416214830e10e6c2e391
tree3a187b464fde1a70a4a749ce87bb2acf4ca0b6ec
parent7fb28191d2ed22acb791f70a1bfc4239618e3c39
rgw/dbstore: Cleanup - use unique_ptr instead of new/delete in DBZone

This commit refactors the 'DBZone' class to utilize 'std::unique_ptr' instead of raw pointers and manual memory management with 'new' and 'delete'.

Fixes: https://tracker.ceph.com/issues/57501
Signed-off-by: Oshrey Avraham <oshrey16@gmail.com>
src/rgw/rgw_sal_dbstore.h