summaryrefslogtreecommitdiff
path: root/qpid/cpp/include/qpid/Url.h
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/include/qpid/Url.h')
-rw-r--r--qpid/cpp/include/qpid/Url.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/include/qpid/Url.h b/qpid/cpp/include/qpid/Url.h
index 915b08ac5f..8845fc4a60 100644
--- a/qpid/cpp/include/qpid/Url.h
+++ b/qpid/cpp/include/qpid/Url.h
@@ -30,7 +30,7 @@
namespace qpid {
/** An AMQP URL contains a list of addresses */
-struct Url : public std::vector<Address> {
+struct QPID_COMMON_CLASS_EXTERN Url : public std::vector<Address> {
/** Url with the hostname as returned by gethostname(2) */
QPID_COMMON_EXTERN static Url getHostNameUrl(uint16_t port);
@@ -39,7 +39,7 @@ struct Url : public std::vector<Address> {
* on a multi-homed host. */
QPID_COMMON_EXTERN static Url getIpAddressesUrl(uint16_t port);
- struct Invalid : public Exception { Invalid(const std::string& s); };
+ struct QPID_COMMON_CLASS_EXTERN Invalid : public Exception { Invalid(const std::string& s); };
/** Convert to string form. */
QPID_COMMON_EXTERN std::string str() const;