From 41ed74beb6cad0d6e56d5a2f5c0fa4f487dba4b1 Mon Sep 17 00:00:00 2001 From: Alexandr Arutjunov Date: Mon, 8 Aug 2016 19:07:30 +0300 Subject: [PATCH] [*] Style. Intermediate commit. --- code/glTFAssetWriter.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/glTFAssetWriter.inl b/code/glTFAssetWriter.inl index 0fa8556c0..00c907bcb 100644 --- a/code/glTFAssetWriter.inl +++ b/code/glTFAssetWriter.inl @@ -1,4 +1,4 @@ -/* +/* Open Asset Import Library (assimp) ---------------------------------------------------------------------- @@ -56,7 +56,7 @@ namespace glTF { inline Value& MakeValue(Value& val, float(&r)[N], MemoryPoolAllocator<>& al) { val.SetArray(); val.Reserve(N, al); - for (int i = 0; i < N; ++i) { + for (decltype(N) i = 0; i < N; ++i) { val.PushBack(r[i], al); } return val;