mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:47:35 +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)
|
Address(const Address& address) = default;
|
||||||
: m_domain(address.domain())
|
|
||||||
, m_bus(address.bus())
|
|
||||||
, m_device(address.device())
|
|
||||||
, m_function(address.function())
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
bool is_null() const { return !m_bus && !m_device && !m_function; }
|
bool is_null() const { return !m_bus && !m_device && !m_function; }
|
||||||
operator bool() const { return !is_null(); }
|
operator bool() const { return !is_null(); }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue