diff --git a/libuavcan/include/uavcan/publisher.hpp b/libuavcan/include/uavcan/publisher.hpp index aa046cf18b..5c1b3f6f8b 100644 --- a/libuavcan/include/uavcan/publisher.hpp +++ b/libuavcan/include/uavcan/publisher.hpp @@ -47,7 +47,7 @@ private: UAVCAN_TRACE("Publisher", "Type [%s] is not registered", DataType::getDataTypeFullName()); return false; } - sender_.construct + sender_.template construct (scheduler_.getDispatcher(), *descr, CanTxQueue::Volatile, max_transfer_interval_); return true; }