mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:47:35 +00:00
Meta+AK: Make clang-format-10 clean
This commit is contained in:
parent
468a29f4a1
commit
8940bc3503
28 changed files with 315 additions and 313 deletions
|
@ -32,7 +32,8 @@
|
|||
namespace AK {
|
||||
|
||||
template<typename ValueType, typename ErrorType>
|
||||
class [[nodiscard]] Result {
|
||||
class [[nodiscard]] Result
|
||||
{
|
||||
public:
|
||||
Result(const ValueType& res)
|
||||
: m_result(res)
|
||||
|
@ -50,13 +51,19 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
// FIXME: clang-format gets confused about Result. Why?
|
||||
// clang-format off
|
||||
Result(Result&& other)
|
||||
// clang-format on
|
||||
: m_result(move(other.m_result))
|
||||
, m_error(move(other.m_error))
|
||||
{
|
||||
}
|
||||
|
||||
// FIXME: clang-format gets confused about Result. Why?
|
||||
// clang-format off
|
||||
Result(Result& other)
|
||||
// clang-format on
|
||||
: m_result(other.m_result)
|
||||
, m_error(other.m_error)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue