mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:57:46 +00:00
Kernel: Mark PCI::Address as trivially copyable
This commit is contained in:
parent
f9e8fe557c
commit
3070252090
1 changed files with 1 additions and 7 deletions
|
@ -159,13 +159,7 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
Address(const Address& address)
|
||||
: m_domain(address.domain())
|
||||
, m_bus(address.bus())
|
||||
, m_device(address.device())
|
||||
, m_function(address.function())
|
||||
{
|
||||
}
|
||||
Address(const Address& address) = default;
|
||||
|
||||
bool is_null() const { return !m_bus && !m_device && !m_function; }
|
||||
operator bool() const { return !is_null(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue