mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
Replace std::make_pair with std::pair CTAD (#7405)
This commit is contained in:
@@ -38,7 +38,7 @@ TEST(MulticastServiceAnnouncerTest, SingleText) {
|
||||
const std::string_view serviceType = "_wpitxt";
|
||||
const int port = std::rand();
|
||||
std::array<std::pair<std::string, std::string>, 1> txt = {
|
||||
std::make_pair("hello", "world")};
|
||||
std::pair{"hello", "world"}};
|
||||
wpi::MulticastServiceAnnouncer announcer(serviceName, serviceType, port, txt);
|
||||
wpi::MulticastServiceResolver resolver(serviceType);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user