NO_COPY_CLASS c++11

This commit is contained in:
2020-07-17 11:46:21 +03:00
parent 1a3096c48b
commit 33a6382f4d
8 changed files with 24 additions and 34 deletions

View File

@@ -54,6 +54,7 @@ class PIP_EXPORT PIIODevice: public PIThread
PIOBJECT_SUBCLASS(PIIODevice, PIThread)
friend void __DevicePool_threadReadDP(void * ddp);
public:
NO_COPY_CLASS(PIIODevice)
//! Constructs a empty PIIODevice
explicit PIIODevice();
@@ -388,8 +389,6 @@ protected:
void * ret_data_;
private:
NO_COPY_CLASS(PIIODevice)
EVENT_HANDLER2(void, check_start, void * , data, int, delim);
EVENT_HANDLER(void, write_func);