1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00

Kernel: Make NetworkAdapter::class_name() return a StringView

This commit is contained in:
Andreas Kling 2021-07-11 17:59:38 +02:00
parent 68f2250768
commit e4dfb0fdf3
7 changed files with 7 additions and 7 deletions

View file

@ -44,7 +44,7 @@ class NetworkAdapter : public RefCounted<NetworkAdapter>
public:
virtual ~NetworkAdapter();
virtual const char* class_name() const = 0;
virtual StringView class_name() const = 0;
const String& name() const { return m_name; }
MACAddress mac_address() { return m_mac_address; }