Fixed typo and resulting clang compiler warning
Applied part of pezmaster31/bamtools@71392a251aaea8b797661846b2878e16
@@ -263,7 +263,7 @@ bool HostAddress::operator<(const HostAddress& other) const {
// if self is IPv4
if ( m_protocol == HostAddress::IPv4Protocol ) {
if ( other.m_protocol == HostAddress::IPv4Protocol )
- return m_ip4Address < m_ip4Address;
+ return m_ip4Address < other.m_ip4Address;
}
// if self is IPv6
