Try BCValue as smartptr
This commit is contained in:
@@ -64,8 +64,8 @@ public:
|
||||
public slots:
|
||||
|
||||
void onToggleConnectionState( bool connect );
|
||||
void enqueueValueOp(BCValue::OpID opID, const BCValue* value );
|
||||
void processValueOp(BCValue::OpID opID);
|
||||
void enqueueValueOp(const BCValue& value );
|
||||
void processValueOp();
|
||||
|
||||
signals:
|
||||
|
||||
@@ -74,7 +74,7 @@ signals:
|
||||
|
||||
private:
|
||||
|
||||
using BCDataQueue = QQueue<const BCValue*>;
|
||||
using BCDataQueue = QQueue<BCValue>;
|
||||
|
||||
BCDataQueue _valueQueue;
|
||||
QMutex _mutex;
|
||||
|
||||
Reference in New Issue
Block a user