From 27f8e5b0a161b49f06ff259ca783dabd7a9498fd Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Fri, 7 Jul 2017 11:20:40 +0430 Subject: [PATCH] Slight optimization by avoiding an unnecessary initialization #654 --- glm/gtx/matrix_factorisation.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/gtx/matrix_factorisation.inl b/glm/gtx/matrix_factorisation.inl index 7f2418c0..90fb7857 100644 --- a/glm/gtx/matrix_factorisation.inl +++ b/glm/gtx/matrix_factorisation.inl @@ -16,7 +16,7 @@ namespace glm template class matType> GLM_FUNC_QUALIFIER matType fliplr(matType const& in) { - matType out; + matType out(uninitialize); for (length_t i = 0; i < C; i++) { out[i] = in[(C - i) - 1];