Loading net/src/driver.cpp +5 −5 Original line number Diff line number Diff line Loading @@ -5,11 +5,11 @@ #include <osi/index.hpp> #include <utils/serialization.hpp> using namespace std; using namespace net; namespace net { Driver::Driver() : Runner(self_name()), socket(make_unique<GNSSocket>()) : Runner(self_name()), socket(std::make_unique<GNSSocket>()) { } Loading Loading @@ -77,7 +77,7 @@ SendResult Driver::broadcast( int channel) { bool all_success = true; for (const auto& connection : connections | views::values) for (const auto& connection : connections | std::views::values) { if (!connection.active) continue; auto result = socket->send(connection.id, data, reliability, ordering, channel); Loading Loading @@ -153,4 +153,4 @@ void Driver::handle_packet(ConnectionId from, NetworkMessage* message) } } Loading
net/src/driver.cpp +5 −5 Original line number Diff line number Diff line Loading @@ -5,11 +5,11 @@ #include <osi/index.hpp> #include <utils/serialization.hpp> using namespace std; using namespace net; namespace net { Driver::Driver() : Runner(self_name()), socket(make_unique<GNSSocket>()) : Runner(self_name()), socket(std::make_unique<GNSSocket>()) { } Loading Loading @@ -77,7 +77,7 @@ SendResult Driver::broadcast( int channel) { bool all_success = true; for (const auto& connection : connections | views::values) for (const auto& connection : connections | std::views::values) { if (!connection.active) continue; auto result = socket->send(connection.id, data, reliability, ordering, channel); Loading Loading @@ -153,4 +153,4 @@ void Driver::handle_packet(ConnectionId from, NetworkMessage* message) } }