mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 02:43:34 +08:00
clang-tidy fix mathlib headers and format
This commit is contained in:
@@ -114,19 +114,19 @@ public:
|
||||
{
|
||||
Block::updateParams();
|
||||
|
||||
if (getChildren().getHead() != NULL) { updateChildParams(); }
|
||||
if (getChildren().getHead() != nullptr) { updateChildParams(); }
|
||||
}
|
||||
virtual void updateSubscriptions()
|
||||
{
|
||||
Block::updateSubscriptions();
|
||||
|
||||
if (getChildren().getHead() != NULL) { updateChildSubscriptions(); }
|
||||
if (getChildren().getHead() != nullptr) { updateChildSubscriptions(); }
|
||||
}
|
||||
virtual void updatePublications()
|
||||
{
|
||||
Block::updatePublications();
|
||||
|
||||
if (getChildren().getHead() != NULL) { updateChildPublications(); }
|
||||
if (getChildren().getHead() != nullptr) { updateChildPublications(); }
|
||||
}
|
||||
protected:
|
||||
// methods
|
||||
|
||||
Reference in New Issue
Block a user