Deal with other things that are optimizing out instead of linking properly.

This commit is contained in:
Ryan C. Gordon 2016-03-31 14:13:28 -04:00
parent 7c9d29ad1a
commit 887bc474e0
3 changed files with 4 additions and 4 deletions

View File

@ -195,7 +195,7 @@ inline void MatrixMultiply(Matrix12 &c,const Matrix12 &m, const Matrix12 &n)
} }
// multiply two matrices into first one // multiply two matrices into first one
inline void MatrixMultiplyCP(Matrix12 &c,const Matrix12 &m, const Matrix12 &n) void MatrixMultiplyCP(Matrix12 &c,const Matrix12 &m, const Matrix12 &n)
{ {
Matrix12 mTemp; Matrix12 mTemp;
MatrixMultiply(mTemp,m,n); MatrixMultiply(mTemp,m,n);

View File

@ -84,8 +84,6 @@ inline const Type &CStaticArray<Type>::operator[](INDEX i) const {
ASSERT(i>=0 && i<sa_Count); // check bounds ASSERT(i>=0 && i<sa_Count); // check bounds
return sa_Array[i]; return sa_Array[i];
} }
#endif
/* /*
* Get number of elements in array. * Get number of elements in array.
*/ */
@ -94,6 +92,7 @@ INDEX CStaticArray<Type>::Count(void) const {
ASSERT(this!=NULL); ASSERT(this!=NULL);
return sa_Count; return sa_Count;
} }
#endif
/* /*
* Get index of a member from it's pointer * Get index of a member from it's pointer

View File

@ -66,7 +66,8 @@ public:
} }
/* Get number of objects in array. */ /* Get number of objects in array. */
INDEX Count(void) const; inline INDEX Count(void) const { return sa_Count; }
/* Get index of a object from it's pointer. */ /* Get index of a object from it's pointer. */
INDEX Index(Type *ptObject); INDEX Index(Type *ptObject);