1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Add missing TINS_API on address types

Fixes #229
This commit is contained in:
Matias Fontanini
2017-08-05 19:12:12 -07:00
parent ecacd4aee5
commit f89e922d72
3 changed files with 11 additions and 9 deletions

View File

@@ -203,7 +203,7 @@ public:
* \param addr The parameter to be written.
* \return std::ostream& pointing to the os parameter.
*/
friend std::ostream& operator<<(std::ostream& os, const IPv6Address& addr);
TINS_API friend std::ostream& operator<<(std::ostream& os, const IPv6Address& addr);
/**
* Applies a mask to an address
@@ -222,7 +222,7 @@ private:
namespace std {
template<>
struct hash<Tins::IPv6Address> {
TINS_API struct hash<Tins::IPv6Address> {
size_t operator()(const Tins::IPv6Address& addr) const;
};