]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test_rgw_manifest.cc: fix VLA of non-POD element type
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 7 May 2014 15:28:31 +0000 (17:28 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 7 May 2014 15:32:02 +0000 (17:32 +0200)
commita0f59df157c91bea1979cb76ff754ef45a47e92a
treea256ddcb9303d25aae7545d296eb2f18782ab348
parent6c49d6e1264d9c308666bc76cb145105eba3e670
test_rgw_manifest.cc: fix VLA of non-POD element type

Use vector to fix:
test/rgw/test_rgw_manifest.cc:184:20: error: variable length array
 of non-POD element type 'RGWObjManifest'
  RGWObjManifest pm[num_parts];

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/test/rgw/test_rgw_manifest.cc