diff --git a/automotive/vehicle/2.0/default/common/src/VehicleUtils.cpp b/automotive/vehicle/2.0/default/common/src/VehicleUtils.cpp index c16b29a2e7..03a9df579b 100644 --- a/automotive/vehicle/2.0/default/common/src/VehicleUtils.cpp +++ b/automotive/vehicle/2.0/default/common/src/VehicleUtils.cpp @@ -30,7 +30,7 @@ namespace V2_0 { std::unique_ptr createVehiclePropValue( VehiclePropertyType type, size_t vecSize) { - auto val = std::unique_ptr(new VehiclePropValue); + auto val = std::unique_ptr(new VehiclePropValue()); switch (type) { case VehiclePropertyType::INT32: // fall through case VehiclePropertyType::INT32_VEC: // fall through