- fix compilation warnings

This commit is contained in:
Dmytro Bogovych 2021-01-03 14:10:05 +03:00
parent d9f8b0aafb
commit b3bf17a5c5
1 changed files with 6 additions and 2 deletions

View File

@ -121,14 +121,18 @@ template<typename _Tp>
inline const _Tp&
resipMin(const _Tp& __a, const _Tp& __b)
{
if (__b < __a) return __b; return __a;
if (__b < __a)
return __b;
return __a;
}
template<typename _Tp>
inline const _Tp&
resipMax(const _Tp& __a, const _Tp& __b)
{
if (__a < __b) return __b; return __a;
if (__a < __b)
return __b;
return __a;
}
template<typename _Tp1, typename _Tp2>