]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
include/buffer_raw: avoid using std::aligned_storage_t 64041/head
authorKefu Chai <tchaikov@gmail.com>
Thu, 19 Jun 2025 09:57:18 +0000 (17:57 +0800)
committerKefu Chai <tchaikov@gmail.com>
Thu, 19 Jun 2025 10:01:57 +0000 (18:01 +0800)
commitcb680641df3f005f09ac3cbd96bcb1637b70a193
treee4a2c90a14aee0ad2767c1b37995f3cf633e7016
parent0c95e42ecfe46e4d35777dbe0fb23cbc00804eb3
include/buffer_raw: 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/include/buffer_raw.h