private:
inline PreventCopy(const PreventCopy &c) { *this = c; }
- inline PreventCopy &operator=(const PreventCopy &c){ *this = c; return *this; }
+ inline PreventCopy &operator=(const PreventCopy & UNUSED(c)){ return *this; }
};
template <typename _Predicate>
return bReturn;
}
- volatile bool m_bSignaled;
- CCondition<volatile bool&> m_condition;
- CMutex m_mutex;
- volatile bool m_bBroadcast;
- unsigned int m_iWaitingThreads;
- bool m_bAutoReset;
+ volatile bool m_bSignaled;
+ CCondition<volatile bool> m_condition;
+ CMutex m_mutex;
+ volatile bool m_bBroadcast;
+ unsigned int m_iWaitingThreads;
+ bool m_bAutoReset;
};
}