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:
parent
68f2250768
commit
e4dfb0fdf3
7 changed files with 7 additions and 7 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue