matrix: instantiate template in host namespace

Fixes warnings under clang
This commit is contained in:
Danny Robson 2014-07-15 19:50:49 +10:00
parent 67d567b5c3
commit d738fc4a0e

View File

@ -175,9 +175,10 @@ matrix<T>::ZEROES = { { { 0, 0, 0, 0 },
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
namespace util {
template struct matrix<float>; template struct matrix<float>;
template struct matrix<double>; template struct matrix<double>;
}
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
template <typename T> template <typename T>