@@ -89,7 +89,7 @@ static void test_nonexistent() {
89
89
TEST_VALIDATE_EXCEPTION (
90
90
std::chrono::nonexistent_local_time,
91
91
[&]([[maybe_unused]] const std::chrono::nonexistent_local_time& e) {
92
- std::string_view what =
92
+ [[maybe_unused]] std::string_view what =
93
93
R"( 1986-03-30 02:30:00.000000000 is in a gap between
94
94
1986-03-30 02:00:00 CET and
95
95
1986-03-30 03:00:00 CEST which are both equivalent to
@@ -103,7 +103,7 @@ static void test_nonexistent() {
103
103
TEST_VALIDATE_EXCEPTION (
104
104
std::chrono::nonexistent_local_time,
105
105
[&]([[maybe_unused]] const std::chrono::nonexistent_local_time& e) {
106
- std::string_view what =
106
+ [[maybe_unused]] std::string_view what =
107
107
R"( 1986-03-30 02:30:00.000000 is in a gap between
108
108
1986-03-30 02:00:00 CET and
109
109
1986-03-30 03:00:00 CEST which are both equivalent to
@@ -117,7 +117,7 @@ static void test_nonexistent() {
117
117
TEST_VALIDATE_EXCEPTION (
118
118
std::chrono::nonexistent_local_time,
119
119
[&]([[maybe_unused]] const std::chrono::nonexistent_local_time& e) {
120
- std::string_view what =
120
+ [[maybe_unused]] std::string_view what =
121
121
R"( 1986-03-30 02:30:00.000 is in a gap between
122
122
1986-03-30 02:00:00 CET and
123
123
1986-03-30 03:00:00 CEST which are both equivalent to
@@ -131,7 +131,7 @@ static void test_nonexistent() {
131
131
TEST_VALIDATE_EXCEPTION (
132
132
std::chrono::nonexistent_local_time,
133
133
[&]([[maybe_unused]] const std::chrono::nonexistent_local_time& e) {
134
- std::string_view what =
134
+ [[maybe_unused]] std::string_view what =
135
135
R"( 1986-03-30 02:30:00 is in a gap between
136
136
1986-03-30 02:00:00 CET and
137
137
1986-03-30 03:00:00 CEST which are both equivalent to
@@ -173,7 +173,7 @@ static void test_ambiguous() {
173
173
TEST_VALIDATE_EXCEPTION (
174
174
std::chrono::ambiguous_local_time,
175
175
[&]([[maybe_unused]] const std::chrono::ambiguous_local_time& e) {
176
- std::string_view what =
176
+ [[maybe_unused]] std::string_view what =
177
177
R"( 1986-09-28 02:30:00.000000000 is ambiguous. It could be
178
178
1986-09-28 02:30:00.000000000 CEST == 1986-09-28 00:30:00.000000000 UTC or
179
179
1986-09-28 02:30:00.000000000 CET == 1986-09-28 01:30:00.000000000 UTC)" ;
@@ -186,7 +186,7 @@ static void test_ambiguous() {
186
186
TEST_VALIDATE_EXCEPTION (
187
187
std::chrono::ambiguous_local_time,
188
188
[&]([[maybe_unused]] const std::chrono::ambiguous_local_time& e) {
189
- std::string_view what =
189
+ [[maybe_unused]] std::string_view what =
190
190
R"( 1986-09-28 02:30:00.000000 is ambiguous. It could be
191
191
1986-09-28 02:30:00.000000 CEST == 1986-09-28 00:30:00.000000 UTC or
192
192
1986-09-28 02:30:00.000000 CET == 1986-09-28 01:30:00.000000 UTC)" ;
@@ -199,7 +199,7 @@ static void test_ambiguous() {
199
199
TEST_VALIDATE_EXCEPTION (
200
200
std::chrono::ambiguous_local_time,
201
201
[&]([[maybe_unused]] const std::chrono::ambiguous_local_time& e) {
202
- std::string_view what =
202
+ [[maybe_unused]] std::string_view what =
203
203
R"( 1986-09-28 02:30:00.000 is ambiguous. It could be
204
204
1986-09-28 02:30:00.000 CEST == 1986-09-28 00:30:00.000 UTC or
205
205
1986-09-28 02:30:00.000 CET == 1986-09-28 01:30:00.000 UTC)" ;
@@ -212,7 +212,7 @@ static void test_ambiguous() {
212
212
TEST_VALIDATE_EXCEPTION (
213
213
std::chrono::ambiguous_local_time,
214
214
[&]([[maybe_unused]] const std::chrono::ambiguous_local_time& e) {
215
- std::string_view what =
215
+ [[maybe_unused]] std::string_view what =
216
216
R"( 1986-09-28 02:30:00 is ambiguous. It could be
217
217
1986-09-28 02:30:00 CEST == 1986-09-28 00:30:00 UTC or
218
218
1986-09-28 02:30:00 CET == 1986-09-28 01:30:00 UTC)" ;
0 commit comments