Skip to content

Providing empty functions for functions defined pure virtual in ESP8266::Client.h #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 21, 2019

Conversation

aentinger
Copy link
Contributor

No description provided.

@aentinger aentinger merged commit ade2940 into master Oct 21, 2019
@aentinger aentinger deleted the fix-issue-esp-2.5.0 branch October 21, 2019 12:33
@@ -67,6 +67,7 @@ class MqttClient : public Client {
// from Client
virtual int connect(IPAddress ip, uint16_t port = 1883);
virtual int connect(const char *host, uint16_t port = 1883);
virtual int connect(const IPAddress& ip, uint16_t port) { }; /* ESP8266 core defines this pure virtual in Client.h */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lxrobotics should we consider wrapping these in #ifdef ESP8266 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sandeepmistry Yes that would be definitely a good idea 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants