Browse Source

Fixed build

Groove 7 years ago
parent
commit
bd2c7070d7
1 changed files with 3 additions and 1 deletions
  1. 3 1
      glm/detail/type_mat3x3.inl

+ 3 - 1
glm/detail/type_mat3x3.inl

@@ -250,7 +250,9 @@ namespace glm
 	template<typename T, qualifier Q>
 	GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CXX11 typename mat<3, 3, T, Q>::col_type const& mat<3, 3, T, Q>::operator[](typename mat<3, 3, T, Q>::length_type i) const
 	{
-		assert(i < this->length());
+#		if GLM_HAS_CONSTEXPR_CXX14
+			assert(i < this->length());
+#		endif
 		return this->value[i];
 	}