Try BCValue as smartptr

This commit is contained in:
2026-01-02 01:43:49 +01:00
parent 43f72d1be6
commit fc5ab611bd
11 changed files with 60 additions and 69 deletions

View File

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