*: 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:
@@ -93,9 +93,9 @@ public:
|
||||
}
|
||||
|
||||
gcc_pure
|
||||
bool operator==(const SocketAddress other) const;
|
||||
bool operator==(const SocketAddress other) const noexcept;
|
||||
|
||||
bool operator!=(const SocketAddress other) const {
|
||||
bool operator!=(const SocketAddress other) const noexcept {
|
||||
return !(*this == other);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user