diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-12-23 10:37:52 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-12-23 10:37:52 +0100 |
commit | c9f785ff7f64960b79129e4e79fd0db4863192ae (patch) | |
tree | f6b301f4957b089aad5157231eaaaaf97f86e071 /src/lib/mathlib/math/Vector.hpp | |
parent | a53af7e7b3ea34aa9023473a73489c836ac0e84a (diff) | |
download | px4-firmware-c9f785ff7f64960b79129e4e79fd0db4863192ae.tar.gz px4-firmware-c9f785ff7f64960b79129e4e79fd0db4863192ae.tar.bz2 px4-firmware-c9f785ff7f64960b79129e4e79fd0db4863192ae.zip |
Added missing export keywords
Diffstat (limited to 'src/lib/mathlib/math/Vector.hpp')
-rw-r--r-- | src/lib/mathlib/math/Vector.hpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/lib/mathlib/math/Vector.hpp b/src/lib/mathlib/math/Vector.hpp index 8d754a321..c865bab42 100644 --- a/src/lib/mathlib/math/Vector.hpp +++ b/src/lib/mathlib/math/Vector.hpp @@ -42,6 +42,7 @@ #ifndef VECTOR_HPP #define VECTOR_HPP +#include <visibility.h> #include <stdio.h> #include <math.h> #include "../CMSIS/Include/arm_math.h" @@ -50,10 +51,10 @@ namespace math { template <unsigned int N> -class Vector; +class __EXPORT Vector; template <unsigned int N> -class VectorBase { +class __EXPORT VectorBase { public: /** * vector data @@ -267,7 +268,7 @@ public: }; template <unsigned int N> -class Vector : public VectorBase<N> { +class __EXPORT Vector : public VectorBase<N> { public: using VectorBase<N>::operator *; @@ -294,7 +295,7 @@ public: }; template <> -class Vector<2> : public VectorBase<2> { +class __EXPORT Vector<2> : public VectorBase<2> { public: Vector() : VectorBase<2>() { } @@ -334,7 +335,7 @@ public: }; template <> -class Vector<3> : public VectorBase<3> { +class __EXPORT Vector<3> : public VectorBase<3> { public: Vector() { arm_col = {3, 1, &this->data[0]}; @@ -375,7 +376,7 @@ public: }; template <> -class Vector<4> : public VectorBase<4> { +class __EXPORT Vector<4> : public VectorBase<4> { public: Vector() : VectorBase() {} |