net/AllocatedSocketAddress: add method GetSteadyPart()
This commit is contained in:
parent
75aa08ed6b
commit
34ec024bf4
|
@ -183,6 +183,11 @@ public:
|
|||
}
|
||||
#endif
|
||||
|
||||
[[gnu::pure]]
|
||||
std::span<const std::byte> GetSteadyPart() const noexcept {
|
||||
return SocketAddress{*this}.GetSteadyPart();
|
||||
}
|
||||
|
||||
private:
|
||||
void SetSize(size_type new_size) noexcept;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue