From 7e5c5c21acead35bfc8b582041db8f45f6a3c95f Mon Sep 17 00:00:00 2001 From: Jose Luis Blanco-Claraco Date: Fri, 27 Dec 2019 22:52:39 +0100 Subject: [PATCH] fix missing DLLEXPORT --- gtsam/inference/LabeledSymbol.cpp | 2 +- gtsam/inference/LabeledSymbol.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam/inference/LabeledSymbol.cpp b/gtsam/inference/LabeledSymbol.cpp index 6d34883fa..e67c56e5e 100644 --- a/gtsam/inference/LabeledSymbol.cpp +++ b/gtsam/inference/LabeledSymbol.cpp @@ -123,7 +123,7 @@ boost::function LabeledSymbol::TypeLabelTest(unsigned char c, } /* ************************************************************************* */ -std::ostream &operator<<(std::ostream &os, const LabeledSymbol &symbol) { +GTSAM_EXPORT std::ostream &operator<<(std::ostream &os, const LabeledSymbol &symbol) { os << StreamedKey(symbol); return os; } diff --git a/gtsam/inference/LabeledSymbol.h b/gtsam/inference/LabeledSymbol.h index 5b3ec8766..d46425bb4 100644 --- a/gtsam/inference/LabeledSymbol.h +++ b/gtsam/inference/LabeledSymbol.h @@ -107,7 +107,7 @@ public: LabeledSymbol newLabel(unsigned char label) const { return LabeledSymbol(c_, label, j_); } /// Output stream operator that can be used with key_formatter (see Key.h). - friend std::ostream &operator<<(std::ostream &, const LabeledSymbol &); + friend GTSAM_EXPORT std::ostream &operator<<(std::ostream &, const LabeledSymbol &); private: