From b20023ed3da6350006cc0b0d87d8a628e82cb496 Mon Sep 17 00:00:00 2001 From: Andy Maloney Date: Sun, 10 Feb 2013 22:23:13 -0500 Subject: [PATCH] Pass by reference, not value --- include/assimp/anim.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/assimp/anim.h b/include/assimp/anim.h index 6d1e8213f..04ba5e782 100644 --- a/include/assimp/anim.h +++ b/include/assimp/anim.h @@ -457,7 +457,7 @@ struct Interpolator { template <> struct Interpolator { - void operator () (aiQuaternion& out, const aiQuatKey a, + void operator () (aiQuaternion& out, const aiQuatKey& a, const aiQuatKey& b, float d) const { Interpolator ipl; @@ -467,7 +467,7 @@ struct Interpolator { template <> struct Interpolator { - void operator () (unsigned int& out, const aiMeshKey a, + void operator () (unsigned int& out, const aiMeshKey& a, const aiMeshKey& b, float d) const { Interpolator ipl;