File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
tests/std/tests/P1614R2_spaceship Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff 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
131134template <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 ]);
You can’t perform that action at this time.
0 commit comments