Avoid unused parameter warnings due to safe bool operators.
This was SVN commit r11142.
This commit is contained in:
parent
17b8c6360e
commit
b7e848de23
@ -83,14 +83,14 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
template<typename T, typename U>
|
template<typename T, typename U>
|
||||||
bool operator!=(const CmpPtr<T>& lhs, const U& rhs)
|
bool operator!=(const CmpPtr<T>& lhs, const U& UNUSED(rhs))
|
||||||
{
|
{
|
||||||
lhs.this_type_does_not_support_comparisons();
|
lhs.this_type_does_not_support_comparisons();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, typename U>
|
template<typename T, typename U>
|
||||||
bool operator==(const CmpPtr<T>& lhs, const U& rhs)
|
bool operator==(const CmpPtr<T>& lhs, const U& UNUSED(rhs))
|
||||||
{
|
{
|
||||||
lhs.this_type_does_not_support_comparisons();
|
lhs.this_type_does_not_support_comparisons();
|
||||||
return false;
|
return false;
|
||||||
|
@ -69,13 +69,13 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
template<typename T, typename U>
|
template<typename T, typename U>
|
||||||
bool operator!=(const AtSmartPtr<T>& lhs, const U& rhs)
|
bool operator!=(const AtSmartPtr<T>& lhs, const U&)
|
||||||
{
|
{
|
||||||
lhs.this_type_does_not_support_comparisions();
|
lhs.this_type_does_not_support_comparisions();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
template<typename T, typename U>
|
template<typename T, typename U>
|
||||||
bool operator==(const AtSmartPtr<T>& lhs, const U& rhs)
|
bool operator==(const AtSmartPtr<T>& lhs, const U&)
|
||||||
{
|
{
|
||||||
lhs.this_type_does_not_support_comparisions();
|
lhs.this_type_does_not_support_comparisions();
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user