mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-18 00:48:09 +08:00
Replace std::clamp with util::clamp and reformat the code (#321)
* Replace std::clamp with util::clamp * Apply clang-format * Execute ./tools/iwyu.sh Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
This commit is contained in:
@@ -41,10 +41,10 @@ Table::Table() {
|
||||
|
||||
Table::Table(std::vector<std::vector<std::string>> input) {
|
||||
std::vector<std::vector<Element>> output;
|
||||
for(auto& row : input) {
|
||||
for (auto& row : input) {
|
||||
output.push_back({});
|
||||
auto& output_row = output.back();
|
||||
for(auto& cell : row) {
|
||||
for (auto& cell : row) {
|
||||
output_row.push_back(text(cell));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user