Skip to content

Commit 55c40a0

Browse files
committed
fix raw strings
1 parent b40a6a8 commit 55c40a0

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

include/stdexec/__detail/__diagnostics.hpp

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ namespace stdexec {
105105
} // namespace stdexec
106106

107107
////////////////////////////////////////////////////////////////////////////////
108-
#define STDEXEC_ERROR_ENABLE_SENDER_IS_FALSE \
109-
R"(((
108+
#define STDEXEC_ERROR_ENABLE_SENDER_IS_FALSE \
109+
R"(
110110
111111
The given type is not a sender because stdexec::enable_sender<Sender> is false. Either:
112112
@@ -131,11 +131,11 @@ The given type is not a sender because stdexec::enable_sender<Sender> is false.
131131
132132
template <>
133133
inline constexpr bool stdexec::enable_sender<MySender> = true;
134-
)))"
134+
)"
135135

136136
////////////////////////////////////////////////////////////////////////////////
137-
#define STDEXEC_ERROR_CANNOT_COMPUTE_COMPLETION_SIGNATURES \
138-
R"(((
137+
#define STDEXEC_ERROR_CANNOT_COMPUTE_COMPLETION_SIGNATURES \
138+
R"(
139139
140140
The sender type was not able to report its completion signatures when asked.
141141
This is either because it lacks the necessary member function, or because the
@@ -179,18 +179,18 @@ A sender can declare its completion signatures in one of two ways:
179179
}
180180
...
181181
};
182-
)))"
182+
)"
183183

184184
////////////////////////////////////////////////////////////////////////////////
185-
#define STDEXEC_ERROR_GET_COMPLETION_SIGNATURES_RETURNED_AN_ERROR \
186-
R"(((
185+
#define STDEXEC_ERROR_GET_COMPLETION_SIGNATURES_RETURNED_AN_ERROR \
186+
R"(
187187
188188
Trying to compute the sender's completion signatures resulted in an error. See
189189
the rest of the compiler diagnostic for clues. Look for the string "_ERROR_".
190-
)))"
190+
)"
191191

192-
#define STDEXEC_ERROR_GET_COMPLETION_SIGNATURES_HAS_INVALID_RETURN_TYPE \
193-
R"(((
192+
#define STDEXEC_ERROR_GET_COMPLETION_SIGNATURES_HAS_INVALID_RETURN_TYPE \
193+
R"(
194194
195195
The member function `get_completion_signatures` of the sender returned an
196196
invalid type.
@@ -214,11 +214,11 @@ A sender's `get_completion_signatures` function must return a specialization of
214214
}
215215
...
216216
};
217-
)))"
217+
)"
218218

219219
////////////////////////////////////////////////////////////////////////////////
220-
#define STDEXEC_ERROR_CANNOT_CONNECT_SENDER_TO_RECEIVER \
221-
R"(((
220+
#define STDEXEC_ERROR_CANNOT_CONNECT_SENDER_TO_RECEIVER \
221+
R"(
222222
A sender must provide a `connect` member function that takes a receiver as an
223223
argument and returns an object whose type satisfies `stdexec::operation_state`,
224224
as shown below:
@@ -251,12 +251,12 @@ as shown below:
251251
252252
...
253253
};
254-
)))"
254+
)"
255255

256256
////////////////////////////////////////////////////////////////////////////////
257-
#define STDEXEC_ERROR_SYNC_WAIT_CANNOT_CONNECT_SENDER_TO_RECEIVER \
258-
R"(((
257+
#define STDEXEC_ERROR_SYNC_WAIT_CANNOT_CONNECT_SENDER_TO_RECEIVER \
258+
R"(
259259
260260
The sender passed to `stdexec::sync_wait()` does not have a `connect`
261261
member function that accepts sync_wait's receiver.
262-
)))" STDEXEC_ERROR_CANNOT_CONNECT_SENDER_TO_RECEIVER
262+
)" STDEXEC_ERROR_CANNOT_CONNECT_SENDER_TO_RECEIVER

0 commit comments

Comments
 (0)