diff --git a/gtsam/discrete/DiscreteKey.h b/gtsam/discrete/DiscreteKey.h index ce0c56dbe..dea00074d 100644 --- a/gtsam/discrete/DiscreteKey.h +++ b/gtsam/discrete/DiscreteKey.h @@ -72,5 +72,5 @@ namespace gtsam { }; // DiscreteKeys /// Create a list from two keys - DiscreteKeys operator&(const DiscreteKey& key1, const DiscreteKey& key2); + GTSAM_EXPORT DiscreteKeys operator&(const DiscreteKey& key1, const DiscreteKey& key2); } diff --git a/gtsam_unstable/discrete/Constraint.h b/gtsam_unstable/discrete/Constraint.h index 4ee7b85eb..168891e6f 100644 --- a/gtsam_unstable/discrete/Constraint.h +++ b/gtsam_unstable/discrete/Constraint.h @@ -34,7 +34,7 @@ using Domains = std::map; * Base class for constraint factors * Derived classes include SingleValue, BinaryAllDiff, and AllDiff. */ -class GTSAM_EXPORT Constraint : public DiscreteFactor { +class GTSAM_UNSTABLE_EXPORT Constraint : public DiscreteFactor { public: typedef boost::shared_ptr shared_ptr;