mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-12-16 01:48:56 +08:00
Generate compile commands for clangd. (#855)
Fix all the diagnostics reported. Bug: https://github.com/ArthurSonzogni/FTXUI/issues/828
This commit is contained in:
committed by
ArthurSonzogni
parent
6a755f3760
commit
8a2a9b0799
@@ -73,7 +73,7 @@ Table::Table(std::vector<std::vector<Element>> input) {
|
||||
|
||||
// private
|
||||
void Table::Initialize(std::vector<std::vector<Element>> input) {
|
||||
input_dim_y_ = input.size();
|
||||
input_dim_y_ = static_cast<int>(input.size());
|
||||
input_dim_x_ = 0;
|
||||
for (auto& row : input) {
|
||||
input_dim_x_ = std::max(input_dim_x_, int(row.size()));
|
||||
|
||||
Reference in New Issue
Block a user