File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ static const Domino::Events defaultEVs; // internal use only
1818void Domino::deduceStateFrom_ (const Event& aValidEv) noexcept
1919{
2020 stack<Event> evStack;
21- for (auto curEV = aValidEv; ; curEV = move ( evStack.top () ), evStack.pop ()) {
21+ for (auto curEV = aValidEv; ; curEV = evStack.top (), evStack.pop ()) {
2222 HID (" (Domino) en=" << evName_ (curEV));
2323
2424 // recalc self state
@@ -28,7 +28,7 @@ void Domino::deduceStateFrom_(const Event& aValidEv) noexcept
2828 // deduce next
2929 for (bool branch : {true , false }) { // search next_[true] & next_[false]
3030 for (auto && nextEV : findPeerEVs (curEV, next_[branch])) {
31- evStack.push (move ( nextEV) ); // dup-deduce is safer (like real domino)
31+ evStack.push (nextEV); // dup-deduce is safer (like real domino)
3232 }
3333 }
3434 }
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ size_t MtInQueue::mt_size(bool canBlock) noexcept
104104
105105 // non block
106106 unique_lock<mutex> tryGuard (mutex_, try_to_lock);
107- HID (__LINE__ << " owns=" << tryGuard.owns_lock ());
107+ // HID(__LINE__ << " owns=" << tryGuard.owns_lock());
108108 return tryGuard.owns_lock ()
109109 ? queue_.size () + cache_.size ()
110110 : cache_.size ();
You can’t perform that action at this time.
0 commit comments