mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:37:45 +00:00
Everywhere: Run clang-format
The following command was used to clang-format these files: clang-format-16 -i $(find . \ -not \( -path "./\.*" -prune \) \ -not \( -path "./Base/*" -prune \) \ -not \( -path "./Build/*" -prune \) \ -not \( -path "./Toolchain/*" -prune \) \ -not \( -path "./Ports/*" -prune \) \ -type f -name "*.cpp" -o -name "*.h")
This commit is contained in:
parent
388d455575
commit
aff81d318b
17 changed files with 49 additions and 54 deletions
|
@ -17,10 +17,10 @@ template<typename T, typename Container = Vector<T>, typename ColumnNameListType
|
|||
class ItemListModel : public Model {
|
||||
public:
|
||||
static constexpr auto IsTwoDimensional = requires(Container data) {
|
||||
requires !IsVoid<ColumnNameListType>;
|
||||
data.at(0).at(0);
|
||||
data.at(0).size();
|
||||
};
|
||||
requires !IsVoid<ColumnNameListType>;
|
||||
data.at(0).at(0);
|
||||
data.at(0).size();
|
||||
};
|
||||
|
||||
// Substitute 'void' for a dummy u8.
|
||||
using ColumnNamesT = Conditional<IsVoid<ColumnNameListType>, u8, ColumnNameListType>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue