Skip to content

Commit b82c9dc

Browse files
committed
clang-format
1 parent 92149a4 commit b82c9dc

File tree

1 file changed

+9
-7
lines changed
  • tests/std/tests/P1614R2_spaceship

1 file changed

+9
-7
lines changed

tests/std/tests/P1614R2_spaceship/test.cpp

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,13 @@ namespace std {
122122
};
123123
} // namespace std
124124

125-
struct dummy_diagnostic : std::error_category
126-
{
127-
const char* name() const noexcept { return "dummy"; }
128-
std::string message(int) const { return ""; }
125+
struct dummy_diagnostic : std::error_category {
126+
const char* name() const noexcept {
127+
return "dummy";
128+
}
129+
std::string message(int) const {
130+
return "";
131+
}
129132
};
130133

131134
template <class ReturnType, class SmallType, class EqualType, class LargeType>
@@ -172,9 +175,8 @@ void unordered_containers_test(
172175
assert(something != different);
173176
}
174177

175-
template<class ErrorType>
176-
void test_diagnostics_type()
177-
{
178+
template <class ErrorType>
179+
void test_diagnostics_type() {
178180
dummy_diagnostic* c_mem = new dummy_diagnostic[2];
179181

180182
ErrorType e_smaller(0, c_mem[0]);

0 commit comments

Comments
 (0)