Skip to content

Commit

Permalink
fix #489, Address::operator== is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
EmielBruijntjes committed Jan 10, 2023
1 parent 0a8c26b commit 6ddabe4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/amqpcpp/address.h
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ class Address
// portnumber must match
if (_port != that._port) return false;

// and finally the vhosts, they must match too
if (_vhost == that._vhost) return false;
// and the vhosts, they must match too
if (_vhost != that._vhost) return false;

// and the options as well
return _options == that._options;
Expand Down

0 comments on commit 6ddabe4

Please sign in to comment.