Skip to content

Commit

Permalink
Fix modernize-return-braced-init-list
Browse files Browse the repository at this point in the history
  • Loading branch information
milianw committed Oct 22, 2023
1 parent 81ce40c commit cdc66a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/disassemblymodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ QSize DisassemblyModel::span(const QModelIndex& index) const

const auto& data = m_data.disassemblyLines.at(index.row());
if (data.addr == 0)
return QSize(columnCount(), 1);
return {columnCount(), 1};
return {1, 1};
}

Expand Down

0 comments on commit cdc66a4

Please sign in to comment.