From 70c15c4316eae4aeeee0f145c42546bbc8c5b2a5 Mon Sep 17 00:00:00 2001 From: Walter Van Herck <walter.vanherck@gmail.com> Date: Wed, 16 Mar 2016 15:18:33 +0100 Subject: [PATCH] Export needed interfaces of BasicVector3D to windows dll --- Core/Geometry/inc/BasicVector3D.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Core/Geometry/inc/BasicVector3D.h b/Core/Geometry/inc/BasicVector3D.h index 87af3996bdc..ce42af55e53 100644 --- a/Core/Geometry/inc/BasicVector3D.h +++ b/Core/Geometry/inc/BasicVector3D.h @@ -254,7 +254,7 @@ inline bool operator!=(const BasicVector3D<T>& a, const BasicVector3D<T>& b) //! Creates a vector<double> as a wavevector with given wavelength and angles. //! Specifically needed for grazing-incidence scattering. -BasicVector3D<double> vecOfLambdaAlphaPhi(const double _lambda, const double _alpha, const double _phi); +BA_CORE_API_ BasicVector3D<double> vecOfLambdaAlphaPhi(const double _lambda, const double _alpha, const double _phi); // ============================================================================= @@ -278,6 +278,8 @@ template<> BA_CORE_API_ double BasicVector3D<double>::theta() const; BA_CORE_API_ BasicVector3D<std::complex<double> > toComplexVector( const BasicVector3D<double>& real_vector); +template<> BA_CORE_API_ BasicVector3D<std::complex<double> > BasicVector3D<double>::complex() const; + } // namespace Geometry #endif /* GEOMETRY_BASICVECTOR3D_H */ -- GitLab