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:
@@ -95,7 +95,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
template<typename Type>
|
template<typename Type = void>
|
||||||
class ConditionVariable : private PrivateConditionVariable {
|
class ConditionVariable : private PrivateConditionVariable {
|
||||||
public:
|
public:
|
||||||
inline void Publish(const Type* object,
|
inline void Publish(const Type* object,
|
||||||
@@ -107,7 +107,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
template<typename Type>
|
template<typename Type = void>
|
||||||
class ConditionVariableEntry : public PrivateConditionVariableEntry {
|
class ConditionVariableEntry : public PrivateConditionVariableEntry {
|
||||||
public:
|
public:
|
||||||
inline bool Add(const Type* object,
|
inline bool Add(const Type* object,
|
||||||
|
|||||||
Reference in New Issue
Block a user