mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-12 12:53:33 +08:00
Added future TODO for proper float comparison for generated types
This commit is contained in:
@@ -116,6 +116,7 @@ struct ${t.cpp_type_name}
|
||||
bool operator!=(ParameterType rhs) const { return !operator==(rhs); }
|
||||
bool operator==(ParameterType rhs) const
|
||||
{
|
||||
// TODO: Proper float comparison.
|
||||
% if fields:
|
||||
return
|
||||
% for idx,a in enumerate(fields):
|
||||
|
||||
Reference in New Issue
Block a user