Moved ip_operators.*pp to common/utilities

This commit is contained in:
Kayne Ruse
2015-02-05 23:06:22 +11:00
parent 95e3ce9a69
commit bad6cc2fab
5 changed files with 3 additions and 18 deletions
-12
View File
@@ -25,18 +25,6 @@
#include <iostream>
#include <sstream>
//-------------------------
//these should've come standard
//-------------------------
bool operator==(IPaddress lhs, IPaddress rhs) {
return lhs.host == rhs.host && lhs.port == rhs.port;
}
bool operator!=(IPaddress lhs, IPaddress rhs) {
return !(lhs == rhs);
}
//-------------------------
//server commands
//-------------------------