Changeset 10857 for code/branches/cpp11_v2
- Timestamp:
- Nov 25, 2015, 2:20:01 PM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/libraries/network/packet
- Files:
-
- 2 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 } -
code/branches/cpp11_v2/src/libraries/network/packet/ServerInformation.h
r10622 r10857 66 66 } 67 67 68 _NetworkExport std::ostream& operator<<(std::ostream& out, const ENetAddress& address);69 68 } 70 69 70 _NetworkExport std::ostream& operator<<(std::ostream& out, const ENetAddress& address); 71 71 72 #endif // SERVERINFORMATION_H
Note: See TracChangeset
for help on using the changeset viewer.