From 7d3086a481899b03c230eb06a29aa57677041725 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期三, 08 七月 2020 15:07:51 +0800 Subject: [PATCH] update --- squeue/include/linked_lock_free_queue.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/squeue/include/linked_lock_free_queue.h b/squeue/include/linked_lock_free_queue.h index c0a886a..3906a42 100644 --- a/squeue/include/linked_lock_free_queue.h +++ b/squeue/include/linked_lock_free_queue.h @@ -68,7 +68,7 @@ // preemptive definitions to prevent public copying LinkedLockFreeQueue(const LinkedLockFreeQueue & q) : qsize(0) { } LinkedLockFreeQueue & operator=(const LinkedLockFreeQueue & q) { return *this;} -public: +protected: LinkedLockFreeQueue(size_t qs = Q_SIZE); // create queue with a qs limit ~LinkedLockFreeQueue(); bool empty() const; -- Gitblit v1.8.0