Set default template argument to void, so that one doesn't need to
bother. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22358 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2f6b4f3e1a
commit
eee9e86c6b
@ -95,7 +95,7 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
template<typename Type>
|
||||
template<typename Type = void>
|
||||
class ConditionVariable : private PrivateConditionVariable {
|
||||
public:
|
||||
inline void Publish(const Type* object,
|
||||
@ -107,7 +107,7 @@ public:
|
||||
};
|
||||
|
||||
|
||||
template<typename Type>
|
||||
template<typename Type = void>
|
||||
class ConditionVariableEntry : public PrivateConditionVariableEntry {
|
||||
public:
|
||||
inline bool Add(const Type* object,
|
||||
|
Loading…
Reference in New Issue
Block a user