]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
kvs: ObjectWriteOPerations can't be in a VLA
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 9 Nov 2016 21:36:23 +0000 (16:36 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Thu, 17 Nov 2016 00:54:31 +0000 (19:54 -0500)
commit97b97fd7156d2176c4962a8c69facde1a6caec4b
tree82bfe8dadd8a653c3b3941f768f449df3778f05e
parentcfa27624d95c8ea3a732bc75cd31c97515b6a9cd
kvs: ObjectWriteOPerations can't be in a VLA

Variable length arrays can only contain Plain Old data
types. ObjectOperation has a virtual destructor and is thus not Plain
Old Data.

We could also get rid of ObjectOperation's virtual destructor, since it
has no other virtual functions.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/key_value_store/kv_flat_btree_async.cc