Skip to content

Commit

Permalink
Update safeQueue.h
Browse files Browse the repository at this point in the history
  • Loading branch information
cppLawyer committed May 17, 2022
1 parent e95c560 commit 8c0ce66
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion safeQueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ namespace safe {
sQueue<T>() = default;
sQueue<T>(sQueue<T>& itemTocopy) {
lg p1(itemTocopy.sQmutex);//so there is no undefined behavior
//lg p2(this->sQmutex); not needed depends on situation
this->size = itemTocopy.size;
main_Mem[size];
for (spInt i = 0; i < size; ++i) {
Expand Down

0 comments on commit 8c0ce66

Please sign in to comment.