From 290759102f42e0231068bb4d662828e31a5ec75f Mon Sep 17 00:00:00 2001 From: Tobias Fischer Date: Mon, 1 Aug 2022 07:32:33 +1000 Subject: [PATCH] Fix exports on Windows --- gtsam/nonlinear/GncOptimizer.h | 2 +- gtsam/nonlinear/GncParams.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam/nonlinear/GncOptimizer.h b/gtsam/nonlinear/GncOptimizer.h index eb1c0233f6..0652785735 100644 --- a/gtsam/nonlinear/GncOptimizer.h +++ b/gtsam/nonlinear/GncOptimizer.h @@ -42,7 +42,7 @@ static double Chi2inv(const double alpha, const size_t dofs) { /* ************************************************************************* */ template -class GTSAM_EXPORT GncOptimizer { +class GncOptimizer { public: /// For each parameter, specify the corresponding optimizer: e.g., GaussNewtonParams -> GaussNewtonOptimizer. typedef typename GncParameters::OptimizerType BaseOptimizer; diff --git a/gtsam/nonlinear/GncParams.h b/gtsam/nonlinear/GncParams.h index e069d5f3d9..10ac80663a 100644 --- a/gtsam/nonlinear/GncParams.h +++ b/gtsam/nonlinear/GncParams.h @@ -39,7 +39,7 @@ enum GncLossType { }; template -class GTSAM_EXPORT GncParams { +class GncParams { public: /// For each parameter, specify the corresponding optimizer: e.g., GaussNewtonParams -> GaussNewtonOptimizer. typedef typename BaseOptimizerParameters::OptimizerType OptimizerType;