diff --git a/geom/ops.hpp b/geom/ops.hpp index ee21a308..7f1eed6d 100644 --- a/geom/ops.hpp +++ b/geom/ops.hpp @@ -55,12 +55,12 @@ namespace cruft::geom { size_t S, typename T, template class A, - template class B, - typename = std::enable_if_t< - !std::is_same_v, A> && - !std::is_same_v, B> - > + template class B > + requires ( + !std::is_same_v, A> && + !std::is_same_v, B> + ) T distance (A, B);