diff --git a/Sources/Tools/plNetLog/ChunkBuffer.h b/Sources/Tools/plNetLog/ChunkBuffer.h index 13ed26cb46..06eae0266a 100644 --- a/Sources/Tools/plNetLog/ChunkBuffer.h +++ b/Sources/Tools/plNetLog/ChunkBuffer.h @@ -51,9 +51,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) -#define Q_MUTEX_LOCKER_TYPE QMutexLocker +using Q_MUTEX_LOCKER_TYPE = QMutexLocker; #else -#define Q_MUTEX_LOCKER_TYPE QMutexLocker +using Q_MUTEX_LOCKER_TYPE = QMutexLocker; #endif class ChunkBuffer