matrix: move sfinae condition into template param list
This commit is contained in:
parent
c4eec456a0
commit
3bd795f5e3
@ -165,8 +165,11 @@ namespace util {
|
||||
}
|
||||
|
||||
|
||||
template <typename VectorT>
|
||||
std::enable_if_t<is_coord_v<VectorT>, VectorT>
|
||||
template <
|
||||
typename VectorT,
|
||||
typename = std::enable_if_t<is_coord_v<VectorT>>
|
||||
>
|
||||
auto
|
||||
operator* (const VectorT &rhs) const
|
||||
{
|
||||
VectorT out;
|
||||
|
Loading…
Reference in New Issue
Block a user