Use CPPKAFKA_API for friends and free functions

This commit is contained in:
Matias Fontanini
2018-04-11 10:47:53 -07:00
parent 05d5a0404b
commit eee60407fa
3 changed files with 5 additions and 5 deletions

View File

@@ -75,7 +75,7 @@ public:
/**
* Writes this error's string representation into a stream
*/
friend std::ostream& operator<<(std::ostream& output, const Error& rhs);
CPPKAFKA_API friend std::ostream& operator<<(std::ostream& output, const Error& rhs);
private:
rd_kafka_resp_err_t error_;
};