mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Make sure the VehiclePropValue object is initialized" into main
This commit is contained in:
@@ -30,7 +30,7 @@ namespace V2_0 {
|
||||
|
||||
std::unique_ptr<VehiclePropValue> createVehiclePropValue(
|
||||
VehiclePropertyType type, size_t vecSize) {
|
||||
auto val = std::unique_ptr<VehiclePropValue>(new VehiclePropValue);
|
||||
auto val = std::unique_ptr<VehiclePropValue>(new VehiclePropValue());
|
||||
switch (type) {
|
||||
case VehiclePropertyType::INT32: // fall through
|
||||
case VehiclePropertyType::INT32_VEC: // fall through
|
||||
|
||||
Reference in New Issue
Block a user