summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Kernel/Bus/PCI/Definitions.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/Kernel/Bus/PCI/Definitions.h b/Kernel/Bus/PCI/Definitions.h
index 97c8555e8f..03c7af35d4 100644
--- a/Kernel/Bus/PCI/Definitions.h
+++ b/Kernel/Bus/PCI/Definitions.h
@@ -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(); }