Skip to content

Commit

Permalink
Fix build failed of minimal-mdns(example) (project-chip#8663)
Browse files Browse the repository at this point in the history
Problem
exmaple minimal-mdns build failed

Change overview
apply changes of ResponseSender construct and method

This PR fix project-chip#8662

Co-authored-by: gdony <[email protected]>
  • Loading branch information
2 people authored and rcasallas-silabs committed Aug 2, 2021
1 parent c2e1610 commit 725bdcd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/minimal-mdns/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ int main(int argc, char ** args)
queryResponder.AddResponder(&ipv4Responder);
}

mdns::Minimal::ResponseSender responseSender(&mdnsServer, &queryResponder);
mdns::Minimal::ResponseSender responseSender(&mdnsServer);
responseSender.AddQueryResponder(&queryResponder);

ReplyDelegate delegate(&responseSender);
mdnsServer.SetDelegate(&delegate);
Expand Down

0 comments on commit 725bdcd

Please sign in to comment.