mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 10:26:52 +08:00
Removed an excessive template disambiguator in the virtual CAN driver class (fixes 3190)
This commit is contained in:
@@ -494,9 +494,8 @@ public:
|
|||||||
const unsigned quota_per_queue = virtual_iface_block_allocation_quota; // 2x overcommit
|
const unsigned quota_per_queue = virtual_iface_block_allocation_quota; // 2x overcommit
|
||||||
|
|
||||||
for (unsigned i = 0; i < num_ifaces_; i++) {
|
for (unsigned i = 0; i < num_ifaces_; i++) {
|
||||||
ifaces_[i].template
|
ifaces_[i].construct<uavcan::IPoolAllocator&, uavcan::ISystemClock&, pthread_mutex_t&,
|
||||||
construct<uavcan::IPoolAllocator&, uavcan::ISystemClock&, pthread_mutex_t&, unsigned>
|
unsigned>(allocator, clock_, driver_mutex_, quota_per_queue);
|
||||||
(allocator, clock_, driver_mutex_, quota_per_queue);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user