- Timestamp:
- Nov 25, 2015, 2:20:01 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/network/packet/ServerInformation.cc
r10622 r10857 87 87 } // namespace packet 88 88 89 std::ostream& operator<<(std::ostream& out, const ENetAddress& address)90 {91 char addr[64];92 if (!enet_address_get_host_ip(&address, addr, 64))93 out << addr;94 return out;95 }96 89 } // namespace orxonox 90 91 std::ostream& operator<<(std::ostream& out, const ENetAddress& address) 92 { 93 char addr[64]; 94 if (!enet_address_get_host_ip(&address, addr, 64)) 95 out << addr; 96 return out; 97 }
Note: See TracChangeset
for help on using the changeset viewer.