Skip to content

Commit

Permalink
Fix build failed of minimal-mdns(example) (#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 #8662

Co-authored-by: gdony <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Aug 20, 2021
1 parent 4d75304 commit 4f90e58
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 4f90e58

Please sign in to comment.