1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:17:35 +00:00

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -36,12 +36,12 @@ public:
{
}
Matrix(const Matrix& other)
Matrix(Matrix const& other)
{
__builtin_memcpy(m_elements, other.elements(), sizeof(T) * N * N);
}
Matrix& operator=(const Matrix& other)
Matrix& operator=(Matrix const& other)
{
__builtin_memcpy(m_elements, other.elements(), sizeof(T) * N * N);
return *this;
@ -50,7 +50,7 @@ public:
constexpr auto elements() const { return m_elements; }
constexpr auto elements() { return m_elements; }
constexpr Matrix operator*(const Matrix& other) const
constexpr Matrix operator*(Matrix const& other) const
{
Matrix product;
for (size_t i = 0; i < N; ++i) {