Skip to content
Snippets Groups Projects
Commit a9f71c6f authored by Christian Engwer's avatar Christian Engwer
Browse files

we don't need these compile-time tests. if '<' is defined we use it, otherwise...

we don't need these compile-time tests. if '<' is defined we use it, otherwise the compiler will complain

[[Imported from SVN: r4667]]
parent dea0ed47
No related branches found
No related tags found
No related merge requests found
......@@ -485,9 +485,6 @@ namespace Dune
template<typename T1, typename T2, typename U1, typename U2>
inline bool operator<(const Pair<T1,T2>& tuple1, const Pair<U1,U2>& tuple2)
{
IsTrue<IsInteroperable<T1,U1>::value>::yes();
IsTrue<! SameType<T2,Nil>::value>::yes();
IsTrue<! SameType<U2,Nil>::value>::yes();
return tuple1.first() < tuple2.first()
|| (tuple1.first() == tuple2.first() && tuple1.second() < tuple2.second());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment