Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d79633f

Browse files
committed
clangformat
1 parent e0ebc43 commit d79633f

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

‎httplib.h

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,9 @@ inline unsigned char to_lower(int c) {
369369

370370
inline bool equal(const std::string &a, const std::string &b) {
371371
return a.size() == b.size() &&
372-
std::equal(a.begin(), a.end(), b.begin(),
373-
[](char ca, char cb) { return to_lower(ca) == to_lower(cb); });
372+
std::equal(a.begin(), a.end(), b.begin(), [](char ca, char cb) {
373+
return to_lower(ca) == to_lower(cb);
374+
});
374375
}
375376

376377
struct equal_to {
@@ -2900,9 +2901,7 @@ inline void stream_line_reader::append(char c) {
29002901
}
29012902
}
29022903

2903-
inline mmap::mmap(const char *path) {
2904-
open(path);
2905-
}
2904+
inline mmap::mmap(const char *path) { open(path); }
29062905

29072906
inline mmap::~mmap() { close(); }
29082907

@@ -9492,8 +9491,8 @@ SSLClient::verify_host_with_subject_alt_name(X509 *server_cert) const {
94929491

94939492
auto type = GEN_DNS;
94949493

9495-
struct in6_addr addr6{};
9496-
struct in_addr addr{};
9494+
struct in6_addr addr6{};
9495+
struct in_addr addr{};
94979496
size_t addr_len = 0;
94989497

94999498
#ifndef __MINGW32__

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /