Use 'const Ptr<T>' rather than 'Ptr<T> const'

This commit is contained in:
Gustavo J. A. M. Carneiro
2007-10-08 14:13:58 +01:00
parent ffdc440926
commit fab9df7825

View File

@@ -353,7 +353,7 @@ operator != (Ptr<T1> const &lhs, Ptr<T2> const &rhs)
}
template <typename T>
bool operator < (Ptr<T> const &lhs, Ptr<T> const &rhs)
bool operator < (const Ptr<T> &lhs, const Ptr<T> &rhs)
{
return PeekPointer<T> (lhs) < PeekPointer<T> (rhs);
}