Skip to content

Commit e4bcd6f

Browse files
committed
Fix clang-format
1 parent b2ea130 commit e4bcd6f

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎.clang-format‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
BasedOnStyle: WebKit
2-
Standard: c++17
2+
Standard: c++20
33
ColumnLimit: 120
44
AllowShortFunctionsOnASingleLine: None
55
AllowShortLambdasOnASingleLine: None
66
AlwaysBreakTemplateDeclarations: Yes
7+
IndentRequiresClause: false
78
AlignAfterOpenBracket: Align
89
BreakBeforeBraces: Attach
910
NamespaceIndentation: None

‎include/tgbot/ApiCodec.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ void appendField(std::vector<HttpFormField>& fields, const char* name, const std
5353
}
5454

5555
template<typename T>
56-
requires std::is_arithmetic_v<T> void appendOptionalField(std::vector<HttpFormField>& fields, const char* name,
57-
T value) {
56+
requires std::is_arithmetic_v<T>
57+
void appendOptionalField(std::vector<HttpFormField>& fields, const char* name, T value) {
5858
if (value != 0) {
5959
appendField(fields, name, value);
6060
}

0 commit comments

Comments
 (0)