*: add "noexcept" to many, many function prototypes
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
This commit is contained in:
@@ -49,7 +49,7 @@ private:
|
||||
public:
|
||||
StaticSocketAddress() = default;
|
||||
|
||||
StaticSocketAddress &operator=(SocketAddress other);
|
||||
StaticSocketAddress &operator=(SocketAddress other) noexcept;
|
||||
|
||||
operator SocketAddress() const {
|
||||
return SocketAddress(reinterpret_cast<const struct sockaddr *>(&address),
|
||||
|
Reference in New Issue
Block a user