Add missing CERES_EXPORT to ComposedLoss Change-Id: Id7db388d41bf53e6e5704039040c9d2c6bf4c29c
diff --git a/include/ceres/loss_function.h b/include/ceres/loss_function.h index 44c6b87..0512c13 100644 --- a/include/ceres/loss_function.h +++ b/include/ceres/loss_function.h
@@ -295,7 +295,7 @@ // 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);