this time the correct clang-format has been used

This commit is contained in:
keldu.magnus 2020-08-09 02:09:49 +02:00
parent 389c21b435
commit 9c87f9d9c8
8 changed files with 192 additions and 190 deletions

View File

@ -71,7 +71,7 @@ IncludeCategories:
IncludeIsMainRegex: '(Test)?$'
IndentCaseLabels: false
IndentPPDirectives: None
IndentWidth: 2
IndentWidth: 4
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
@ -116,6 +116,6 @@ StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 4
UseTab: ForIndentation
UseTab: ForContinuationAndIndentation
...

Binary file not shown.

View File

@ -45,7 +45,9 @@ public:
bool isValue() const { return std::holds_alternative<T>(value_or_error); }
bool isError() const { return std::holds_alternative<Error>(value_or_error); }
bool isError() const {
return std::holds_alternative<Error>(value_or_error);
}
const Error &error() const { return std::get<Error>(value_or_error); }