fix missing DLLEXPORT

release/4.3a0
Jose Luis Blanco-Claraco 2019-12-27 22:52:39 +01:00 committed by Jose Luis Blanco Claraco
parent e658aed6bd
commit 7e5c5c21ac
No known key found for this signature in database
GPG Key ID: D443304FBD70A641
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ boost::function<bool(gtsam::Key)> 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;
}

View File

@ -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: