From 4c3f8987e7f0c51fd367cf6d43d7eb879e79589f Mon Sep 17 00:00:00 2001 From: Simon Rutishauser Date: Thu, 13 Aug 2015 11:10:44 +0200 Subject: [PATCH] Add missing CERES_EXPORT to ComposedLoss Change-Id: Id7db388d41bf53e6e5704039040c9d2c6bf4c29c --- include/ceres/loss_function.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ceres/loss_function.h b/include/ceres/loss_function.h index 44c6b8798..0512c1351 100644 --- a/include/ceres/loss_function.h +++ b/include/ceres/loss_function.h @@ -295,7 +295,7 @@ class CERES_EXPORT TukeyLoss : public ceres::LossFunction { // Composition of two loss functions. The error is the result of first // evaluating g followed by f to yield the composition f(g(s)). // The loss functions must not be NULL. -class ComposedLoss : public LossFunction { +class CERES_EXPORT ComposedLoss : public LossFunction { public: explicit ComposedLoss(const LossFunction* f, Ownership ownership_f, const LossFunction* g, Ownership ownership_g);