Skip to content

Commit

Permalink
break clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-kuebler committed Dec 14, 2022
1 parent 08a099f commit 60139bd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/DataViews/CallstackDataView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ CallstackDataView::CallstackDataView(AppInterface* app) : DataView(DataViewType:

const std::vector<DataView::Column>& CallstackDataView::GetColumns() {
static const std::vector<Column> columns = [] {
std::vector<Column> columns;
columns.resize(kNumColumns);
columns[kColumnSelected] = {"Hooked", .0f, SortingOrder::kDescending};
columns[kColumnName] = {"Function", .65f, SortingOrder::kAscending};
columns[kColumnSize] = {"Size", .0f, SortingOrder::kAscending};
columns[kColumnModule] = {"Module", .0f, SortingOrder::kAscending};
columns[kColumnAddress] = {"Sampled Address", .0f, SortingOrder::kAscending};
return columns;
std::vector<Column> resultingColumns_;
resultingColumns_.resize(kNumColumns);
resultingColumns_[kColumnSelected] = {"Hooked", .0f, SortingOrder::kDescending};
resultingColumns_[kColumnName] = {"Function", .65f, SortingOrder::kAscending};
resultingColumns_[kColumnSize] = {"Size", .0f, SortingOrder::kAscending};
resultingColumns_[kColumnModule] = {"Module", .0f, SortingOrder::kAscending};
resultingColumns_[kColumnAddress] = {"Sampled Address", .0f, SortingOrder::kAscending};
return resultingColumns_;
}();
return columns;
}
Expand Down

0 comments on commit 60139bd

Please sign in to comment.