mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-11 11:03:34 +08:00
Disabled instantiation of Service types
This commit is contained in:
@@ -169,6 +169,11 @@ ${'::uavcan::TailArrayOptDisabled' if (idx + 1) < len(fields) else 'tao_mode'});
|
||||
% endif
|
||||
return signature;
|
||||
}
|
||||
|
||||
% if t.kind == t.KIND_SERVICE:
|
||||
private:
|
||||
${t.short_name}(); // Don't create objects of this type. Use Request/Response instead.
|
||||
% endif
|
||||
};
|
||||
|
||||
<%def name="define_out_of_line_constants(scope_prefix, constants)">
|
||||
|
||||
Reference in New Issue
Block a user