mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 04:03:33 +08:00
Controllib block: Make copy constructor private
This commit is contained in:
@@ -93,6 +93,11 @@ protected:
|
||||
List<uORB::SubscriptionBase *> _subscriptions;
|
||||
List<uORB::PublicationBase *> _publications;
|
||||
List<BlockParamBase *> _params;
|
||||
|
||||
private:
|
||||
/* this class has pointer data members and should not be copied (private constructor) */
|
||||
Block(const control::Block&);
|
||||
Block operator=(const control::Block&);
|
||||
};
|
||||
|
||||
class __EXPORT SuperBlock :
|
||||
|
||||
Reference in New Issue
Block a user