mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:07:45 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
10
AK/Result.h
10
AK/Result.h
|
@ -17,7 +17,7 @@ public:
|
|||
using ValueType = ValueT;
|
||||
using ErrorType = ErrorT;
|
||||
|
||||
Result(const ValueType& res)
|
||||
Result(ValueType const& res)
|
||||
: m_result(res)
|
||||
{
|
||||
}
|
||||
|
@ -27,7 +27,7 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
Result(const ErrorType& error)
|
||||
Result(ErrorType const& error)
|
||||
: m_error(error)
|
||||
{
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ public:
|
|||
}
|
||||
|
||||
Result(Result&& other) = default;
|
||||
Result(const Result& other) = default;
|
||||
Result(Result const& other) = default;
|
||||
~Result() = default;
|
||||
|
||||
ValueType& value()
|
||||
|
@ -78,7 +78,7 @@ public:
|
|||
using ValueType = void;
|
||||
using ErrorType = ErrorT;
|
||||
|
||||
Result(const ErrorType& error)
|
||||
Result(ErrorType const& error)
|
||||
: m_error(error)
|
||||
{
|
||||
}
|
||||
|
@ -90,7 +90,7 @@ public:
|
|||
|
||||
Result() = default;
|
||||
Result(Result&& other) = default;
|
||||
Result(const Result& other) = default;
|
||||
Result(Result const& other) = default;
|
||||
~Result() = default;
|
||||
|
||||
// For compatibility with TRY().
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue