Controllib block: Make copy constructor private

This commit is contained in:
Lorenz Meier 2014-07-16 09:24:31 +02:00
parent 02f56aae8c
commit 3ca15ab157
1 changed files with 5 additions and 0 deletions

View File

@ -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 :