diff options
author | Linus Groh <mail@linusgroh.de> | 2021-02-25 21:10:47 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-26 16:59:56 +0100 |
commit | e265054c12a4fb596b26789e18f342711cf3ef95 (patch) | |
tree | 6539a9026bea3294693a9ae932b3528b3761d695 /AK/DistinctNumeric.h | |
parent | be9df404fd180e1b3cab0c1bddce1f589de8e9f0 (diff) | |
download | serenity-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/DistinctNumeric.h')
-rw-r--r-- | AK/DistinctNumeric.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/DistinctNumeric.h b/AK/DistinctNumeric.h index dc679f88e7..27473050eb 100644 --- a/AK/DistinctNumeric.h +++ b/AK/DistinctNumeric.h @@ -311,9 +311,9 @@ struct Formatter<DistinctNumeric<T, X, Incr, Cmp, Bool, Flags, Shift, Arith>> : // TODO: Further type aliases? template<typename T, typename X, auto... Args> -struct AK::Traits<AK::DistinctNumeric<T, X, Args...>> : public AK::GenericTraits<AK::DistinctNumeric<T, X, Args...>> { +struct Traits<AK::DistinctNumeric<T, X, Args...>> : public GenericTraits<AK::DistinctNumeric<T, X, Args...>> { static constexpr bool is_trivial() { return true; } - static constexpr auto hash(const AK::DistinctNumeric<T, X, Args...>& d) { return AK::Traits<T>::hash(d.value()); } + static constexpr auto hash(const DistinctNumeric<T, X, Args...>& d) { return Traits<T>::hash(d.value()); } }; using AK::DistinctNumeric; |