From dfc157dfba05985caa963ccb22240e238133e066 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 18 Aug 2015 05:50:15 +0200 Subject: simple-mat: don't inline so much --- opentrack/simple-mat.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opentrack/simple-mat.hpp b/opentrack/simple-mat.hpp index 49bf4feb..af23d01e 100755 --- a/opentrack/simple-mat.hpp +++ b/opentrack/simple-mat.hpp @@ -89,7 +89,7 @@ struct Mat template typename std::enable_if::value, num>::type - __inline dot(const Mat& p2) const { + dot(const Mat& p2) const { num ret = 0; constexpr int len = vector_len::value; for (int i = 0; i < len; i++) @@ -99,7 +99,7 @@ struct Mat template typename std::enable_if::value, Mat::P, is_dim3::Q>>::type - __inline cross(const Mat& p2) const + cross(const Mat& p2) const { return Mat({y() * p2.z() - p2.y() * z(), p2.x() * z() - x() * p2.z(), -- cgit v1.2.3