diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-04-01 20:58:27 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-04-01 21:24:45 +0100 |
commit | 086969277e74d8ba065bf8145d3aeb0dec0bfee5 (patch) | |
tree | 02b3699a66735ef806d9b46353491f18f8e4e7b4 /AK/Tuple.h | |
parent | 0376c127f6e98e03607700d0b3f5154b7014b2f8 (diff) | |
download | serenity-086969277e74d8ba065bf8145d3aeb0dec0bfee5.zip |
Everywhere: Run clang-format
Diffstat (limited to 'AK/Tuple.h')
-rw-r--r-- | AK/Tuple.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/AK/Tuple.h b/AK/Tuple.h index 9bdec66f15..ff628facff 100644 --- a/AK/Tuple.h +++ b/AK/Tuple.h @@ -122,7 +122,7 @@ struct Tuple : Detail::Tuple<Ts...> { { } - Tuple(const Tuple& other) + Tuple(Tuple const& other) : Tuple(other, Indices()) { } @@ -133,7 +133,7 @@ struct Tuple : Detail::Tuple<Ts...> { return *this; } - Tuple& operator=(const Tuple& other) + Tuple& operator=(Tuple const& other) { set(other, Indices()); return *this; @@ -185,7 +185,7 @@ private: } template<unsigned... Is> - Tuple(const Tuple& other, IndexSequence<Is...>) + Tuple(Tuple const& other, IndexSequence<Is...>) : Detail::Tuple<Ts...>(other.get<Is>()...) { } @@ -197,7 +197,7 @@ private: } template<unsigned... Is> - void set(const Tuple& other, IndexSequence<Is...>) + void set(Tuple const& other, IndexSequence<Is...>) { ((get<Is>() = other.get<Is>()), ...); } |