]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: avoid using std::aligned_storage_t 62991/head
authorKefu Chai <tchaikov@gmail.com>
Sat, 26 Apr 2025 10:06:26 +0000 (18:06 +0800)
committerKefu Chai <tchaikov@gmail.com>
Sat, 26 Apr 2025 10:10:55 +0000 (18:10 +0800)
commit07ac4c3f8b718e1d220c9a871e4f80821c584ee0
tree6f8e8cb1721ea92bc2c5bf1a9f904d1d137be35c
parent539b7275f64d8df013b80a6f554ab01796c6bf9e
common: avoid using std::aligned_storage_t

std::aligned_storage_t was deprecated in C++23, to be prepared for
it, let's use alignas for the same behavior.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/common/containers.h