Commit 3aeab107 authored by Alan Turner's avatar Alan Turner
Browse files

Formatting

parent 51b6ddfb
...@@ -66,7 +66,8 @@ static std::unordered_map<std::string_view, std::string_view> create_ck_header_s ...@@ -66,7 +66,8 @@ static std::unordered_map<std::string_view, std::string_view> create_ck_header_s
std::transform( std::transform(
ck_headers.begin(), ck_headers.end(), std::inserter(result, result.begin()), [&](auto& p) { ck_headers.begin(), ck_headers.end(), std::inserter(result, result.begin()), [&](auto& p) {
return std::pair<std::string_view, std::string_view>(p.first, ck_disable_warnings(p.second)); return std::pair<std::string_view, std::string_view>(p.first,
ck_disable_warnings(p.second));
}); });
return result; return result;
} }
...@@ -75,10 +76,10 @@ static std::vector<src_file> create_ck_headers() ...@@ -75,10 +76,10 @@ static std::vector<src_file> create_ck_headers()
{ {
static const auto& header_strings = create_ck_header_strings(); static const auto& header_strings = create_ck_header_strings();
std::vector<src_file> srcs; std::vector<src_file> srcs;
std::transform( std::transform(header_strings.begin(),
header_strings.begin(), header_strings.end(), std::back_inserter(srcs), [&](auto& p) { header_strings.end(),
return src_file{p}; std::back_inserter(srcs),
}); [&](auto& p) { return src_file{p}; });
return srcs; return srcs;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment