Merge pull request #1085 from jakubtyrcha/fix_msvc_compilation_cxx_20

Fixed MSVC compilation error with C++ 20 #1085
master
Christophe ago%!(EXTRA string=3 years) committed by GitHub
commit df969513ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      glm/detail/type_vec1.inl

@ -236,7 +236,7 @@ namespace glm
template<typename U>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec<1, T, Q> & vec<1, T, Q>::operator|=(vec<1, U, Q> const& v)
{
this->x |= U(v.x);
this->x |= static_cast<T>(v.x);
return *this;
}

Loading…
Cancel
Save