summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2013-03-05 18:30:05 (GMT)
committerRemko Tronçon <git@el-tramo.be>2013-03-05 18:30:05 (GMT)
commit58a460f442dd85a351cc19edaf390936836dfe1a (patch)
treeef7788392d56f5f7e5791331983eed9ffe537843 /Swiften/JID
parentca7a45a25c2fe332fad1ee3f7a2822415c249206 (diff)
downloadswift-contrib-58a460f442dd85a351cc19edaf390936836dfe1a.zip
swift-contrib-58a460f442dd85a351cc19edaf390936836dfe1a.tar.bz2
Fix DLL linkage.
Change-Id: Ia1ded5b7d4d7df500fc1df1a741a56d81de16b67
Diffstat (limited to 'Swiften/JID')
-rw-r--r--Swiften/JID/JID.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/JID/JID.h b/Swiften/JID/JID.h
index 3ccf7de..ea4bd43 100644
--- a/Swiften/JID/JID.h
+++ b/Swiften/JID/JID.h
@@ -146,7 +146,7 @@ namespace Swift {
return compare(b, Swift::JID::WithResource) < 0;
}
- friend std::ostream& operator<<(std::ostream& os, const Swift::JID& j);
+ SWIFTEN_API friend std::ostream& operator<<(std::ostream& os, const Swift::JID& j);
friend bool operator==(const Swift::JID& a, const Swift::JID& b) {
return a.compare(b, Swift::JID::WithResource) == 0;
@@ -168,6 +168,6 @@ namespace Swift {
std::string resource_;
};
- std::ostream& operator<<(std::ostream& os, const Swift::JID& j);
+ SWIFTEN_API std::ostream& operator<<(std::ostream& os, const Swift::JID& j);
}