aboutsummaryrefslogtreecommitdiff
path: root/include/ceres/normal_prior.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ceres/normal_prior.h')
-rw-r--r--include/ceres/normal_prior.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ceres/normal_prior.h b/include/ceres/normal_prior.h
index 480a074..df66505 100644
--- a/include/ceres/normal_prior.h
+++ b/include/ceres/normal_prior.h
@@ -36,6 +36,7 @@
#include "ceres/cost_function.h"
#include "ceres/internal/eigen.h"
+#include "ceres/internal/disable_warnings.h"
namespace ceres {
@@ -56,7 +57,7 @@ namespace ceres {
// which would be the case if the covariance matrix S is rank
// deficient.
-class NormalPrior: public CostFunction {
+class CERES_EXPORT NormalPrior: public CostFunction {
public:
// Check that the number of rows in the vector b are the same as the
// number of columns in the matrix A, crash otherwise.
@@ -72,4 +73,6 @@ class NormalPrior: public CostFunction {
} // namespace ceres
+#include "ceres/internal/reenable_warnings.h"
+
#endif // CERES_PUBLIC_NORMAL_PRIOR_H_