]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
neorados: Make neorados::Entry aggregate initializable
authorAdam Emerson <aemerson@redhat.com>
Fri, 18 Aug 2023 22:07:22 +0000 (18:07 -0400)
committerAdam Emerson <aemerson@redhat.com>
Thu, 14 Sep 2023 21:48:00 +0000 (17:48 -0400)
commitedc46346f3f5a145df5c52ea39d8cf71159080fa
tree45c7f84cd95f2cff167ea90012c29cf0fcfa66a1
parentdfba3530aacac1f8ff3d6d4269f5be530757c621
neorados: Make neorados::Entry aggregate initializable

Now that C++20 has designated initializers, this is the least
confusing way to handle objects like this.

Also switch to using the spaceship operator, while we're at it.

Signed-off-by: Adam Emerson <aemerson@redhat.com>
src/include/neorados/RADOS_Decodable.hpp