summaryrefslogtreecommitdiff
path: root/AK/MACAddress.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-02-25 21:10:47 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-26 16:59:56 +0100
commite265054c12a4fb596b26789e18f342711cf3ef95 (patch)
tree6539a9026bea3294693a9ae932b3528b3761d695 /AK/MACAddress.h
parentbe9df404fd180e1b3cab0c1bddce1f589de8e9f0 (diff)
downloadserenity-e265054c12a4fb596b26789e18f342711cf3ef95.zip
Everywhere: Remove a bunch of redundant 'AK::' namespace prefixes
This is basically just for consistency, it's quite strange to see multiple AK container types next to each other, some with and some without the namespace prefix - we're 'using AK::Foo;' a lot and should leverage that. :^)
Diffstat (limited to 'AK/MACAddress.h')
-rw-r--r--AK/MACAddress.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/MACAddress.h b/AK/MACAddress.h
index 7e46e5aca7..9798ba8fa0 100644
--- a/AK/MACAddress.h
+++ b/AK/MACAddress.h
@@ -79,11 +79,11 @@ public:
constexpr bool is_zero() const
{
- return AK::all_of(m_data.begin(), m_data.end(), [](const auto octet) { return octet == 0; });
+ return all_of(m_data.begin(), m_data.end(), [](const auto octet) { return octet == 0; });
}
private:
- AK::Array<u8, s_mac_address_length> m_data {};
+ Array<u8, s_mac_address_length> m_data {};
};
static_assert(sizeof(MACAddress) == 6u);