Skip to content

Commit

Permalink
Merge pull request zeromq#458 from gummif/gfa/depr-connected
Browse files Browse the repository at this point in the history
Problem: connected() is confusing
  • Loading branch information
sigiesec authored Nov 25, 2020
2 parents 4afe644 + d57ffc5 commit e80cefa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zmq.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1827,6 +1827,7 @@ class socket_base
throw error_t();
}

ZMQ_DEPRECATED("from 4.7.1, use handle() != nullptr or operator bool")
bool connected() const ZMQ_NOTHROW { return (_handle != ZMQ_NULLPTR); }

ZMQ_CPP11_DEPRECATED("from 4.3.1, use send taking a const_buffer and send_flags")
Expand Down

0 comments on commit e80cefa

Please sign in to comment.