Enforce template syntax typename over class
This commit is contained in:
@ -54,7 +54,7 @@ class ConditionVariable {
|
||||
mutable THREADING_NAMESPACE::condition_variable condition;
|
||||
|
||||
public:
|
||||
template <class BinaryMutexT>
|
||||
template <typename BinaryMutexT>
|
||||
_ALWAYS_INLINE_ void wait(const MutexLock<BinaryMutexT> &p_lock) const {
|
||||
condition.wait(const_cast<THREADING_NAMESPACE::unique_lock<THREADING_NAMESPACE::mutex> &>(p_lock.lock));
|
||||
}
|
||||
@ -72,7 +72,7 @@ public:
|
||||
|
||||
class ConditionVariable {
|
||||
public:
|
||||
template <class BinaryMutexT>
|
||||
template <typename BinaryMutexT>
|
||||
void wait(const MutexLock<BinaryMutexT> &p_lock) const {}
|
||||
void notify_one() const {}
|
||||
void notify_all() const {}
|
||||
|
||||
Reference in New Issue
Block a user