mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 786533. Add a comment about the purpose of XPCOM_MIN/MAX. r=ehsan
--HG-- extra : rebase_source : 97ed3b670dee51b929344e1222be0d61ce18b3af
This commit is contained in:
parent
4f48cd4e2c
commit
0add155be0
@ -25,6 +25,9 @@ NS_ROUNDUP( const T& a, const T& b )
|
||||
return ((a + (b - 1)) / b) * b;
|
||||
}
|
||||
|
||||
// We use these instead of std::min/max because we can't include the algorithm
|
||||
// header in all of XPCOM because the stl wrappers will error out when included
|
||||
// in parts of XPCOM. These functions should never be used outside of XPCOM.
|
||||
template <class T>
|
||||
inline
|
||||
const T&
|
||||
|
Loading…
Reference in New Issue
Block a user