1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-28 20:44:26 +01:00

Add TINS_API to operator<< for IPv4Address

This commit is contained in:
Matias Fontanini
2016-03-16 20:51:37 -07:00
parent 67ee3e8a7d
commit 8b125d31f2

View File

@@ -176,7 +176,7 @@ public:
* \param addr The IPv4Address to be written.
* \return std::stream& pointing to output.
*/
friend std::ostream& operator<<(std::ostream& output, const IPv4Address& addr);
TINS_API friend std::ostream& operator<<(std::ostream& output, const IPv4Address& addr);
private:
uint32_t ip_to_int(const char* ip);