[tests] Removed warning and using namespace std

This commit is contained in:
hsaturn
2023-02-20 02:18:16 +01:00
parent e45af112c2
commit c21b7b63fb
5 changed files with 5 additions and 15 deletions

View File

@@ -17,7 +17,7 @@ class TestReceiver : public MqttClassBinder<TestReceiver>
public:
TestReceiver(const char* name) : MqttClassBinder(), name_(name) {}
void onPublish(const MqttClient* /* source */, const Topic& topic, const char* payload, size_t /* length */)
void onPublish(const MqttClient* /* source */, const Topic& topic, const char* /* payload */, size_t /* length */)
{
(void) topic;
// Serial << "--> routed message received by " << name_ << ':' << topic.c_str() << " = " << payload << endl;