Prevent alternate MessageQueue constructors.

This commit is contained in:
Jared Boone 2016-02-27 21:20:16 -08:00
parent 0fae1488c4
commit 6571ef0c11

View File

@ -34,6 +34,10 @@ using namespace lpc43xx;
class MessageQueue { class MessageQueue {
public: public:
MessageQueue() = delete;
MessageQueue(const MessageQueue&) = delete;
MessageQueue(MessageQueue&&) = delete;
MessageQueue( MessageQueue(
uint8_t* const data, uint8_t* const data,
size_t k size_t k