Skip to content

Commit 86f5933

Browse files
committed
Fix formatting
1 parent 9df4a55 commit 86f5933

File tree

1 file changed

+9
-21
lines changed

1 file changed

+9
-21
lines changed

libcxx/test/std/numerics/c.math/isfinite.pass.cpp

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -63,33 +63,21 @@ struct TestInt {
6363
};
6464

6565
struct ConvertibleFloat {
66-
int value;
67-
68-
ConvertibleFloat(int v) : value(v) {}
69-
70-
operator float() const {
71-
return static_cast<float>(value);
72-
}
66+
int value;
67+
ConvertibleFloat(int v) : value(v) {}
68+
operator float() const { return static_cast<float>(value); }
7369
};
7470

7571
struct ConvertibleDouble {
76-
int value;
77-
78-
ConvertibleDouble(int v) : value(v) {}
79-
80-
operator double() const {
81-
return static_cast<double>(value);
82-
}
72+
int value;
73+
ConvertibleDouble(int v) : value(v) {}
74+
operator double() const { return static_cast<double>(value); }
8375
};
8476

8577
struct ConvertibleLongDouble {
86-
int value;
87-
88-
ConvertibleLongDouble(int v) : value(v) {}
89-
90-
operator long double() const {
91-
return static_cast<long double>(value);
92-
}
78+
int value;
79+
ConvertibleLongDouble(int v) : value(v) {}
80+
operator long double() const { return static_cast<long double>(value); }
9381
};
9482

9583
int main(int, char**) {

0 commit comments

Comments
 (0)