Fixed error C3861: 'Lv': identifier not found

This diagnostic occurred in the compiler generated function 'glm::vec<1,T,Q> &glm::vec<1,T,Q>::operator |=(const glm::vec<1,A,Q> &)'
This commit is contained in:
jakubtyrcha 2021-09-18 19:26:01 +01:00
parent bf71a83494
commit 318d7f2398

View File

@ -234,7 +234,7 @@ namespace glm
template<typename U> template<typename U>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec<1, T, Q> & vec<1, T, Q>::operator|=(vec<1, U, Q> const& v) 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; return *this;
} }