Skip to content
  • Adrien Béraud's avatar
    IpAddr: make sockaddr* conversion operator explicit · f789e6ca
    Adrien Béraud authored and Guillaume Roguez's avatar Guillaume Roguez committed
    Implicit sockaddr* conversion was causing crashes because it was taking
    precedence over the (explicit) bool conversion operator in expressions like:
    if (addr) {}
    , which semantically should trigger the bool operator.
    
    Fix the issue by making the operator explicit.
    
    Change-Id: Ia8470fa03acc70c59bc74d831ae8420807b108ba
    f789e6ca