Fixed CPP Conversion of nested array types
The CPP array type was incorrectly using reserve instead of
resize for the smaller vectors. This resulted in the index-assignment
of each element to not work properly. This patch fixes this, so that
the arrays are properly loaded.
Change-Id: I29eb78a1dc69602087ba9861a378f478d611b0f0
Signed-off-by: Erich Keane <erich.keane@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2412
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>