File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -313,12 +313,12 @@ namespace cppcoro
313313
314314 decltype (auto ) await_resume()
315315 {
316- if (!m_coroutine)
316+ if (!this -> m_coroutine )
317317 {
318318 throw broken_promise{};
319319 }
320320
321- return m_coroutine.promise ().result ();
321+ return this -> m_coroutine .promise ().result ();
322322 }
323323 };
324324
@@ -333,12 +333,12 @@ namespace cppcoro
333333
334334 decltype (auto ) await_resume()
335335 {
336- if (!m_coroutine)
336+ if (!this -> m_coroutine )
337337 {
338338 throw broken_promise{};
339339 }
340340
341- return std::move (m_coroutine.promise ()).result ();
341+ return std::move (this -> m_coroutine .promise ()).result ();
342342 }
343343 };
344344
Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ namespace cppcoro
223223
224224 ~shared_lazy_task_promise ()
225225 {
226- if (is_ready () && !completed_with_unhandled_exception ())
226+ if (this -> is_ready () && !this -> completed_with_unhandled_exception ())
227227 {
228228 reinterpret_cast <T*>(&m_valueStorage)->~T ();
229229 }
@@ -245,7 +245,7 @@ namespace cppcoro
245245
246246 T& result ()
247247 {
248- rethrow_if_unhandled_exception ();
248+ this -> rethrow_if_unhandled_exception ();
249249 return *reinterpret_cast <T*>(&m_valueStorage);
250250 }
251251
@@ -275,7 +275,7 @@ namespace cppcoro
275275
276276 void result ()
277277 {
278- rethrow_if_unhandled_exception ();
278+ this -> rethrow_if_unhandled_exception ();
279279 }
280280
281281 };
@@ -299,7 +299,7 @@ namespace cppcoro
299299
300300 T& result ()
301301 {
302- rethrow_if_unhandled_exception ();
302+ this -> rethrow_if_unhandled_exception ();
303303 return *m_value;
304304 }
305305
@@ -426,12 +426,12 @@ namespace cppcoro
426426
427427 decltype (auto ) await_resume()
428428 {
429- if (!m_coroutine)
429+ if (!this -> m_coroutine )
430430 {
431431 throw broken_promise{};
432432 }
433433
434- return m_coroutine.promise ().result ();
434+ return this -> m_coroutine .promise ().result ();
435435 }
436436 };
437437
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ namespace cppcoro
184184
185185 ~shared_task_promise ()
186186 {
187- if (!completed_with_unhandled_exception ())
187+ if (!this -> completed_with_unhandled_exception ())
188188 {
189189 reinterpret_cast <T*>(&m_valueStorage)->~T ();
190190 }
@@ -206,7 +206,7 @@ namespace cppcoro
206206
207207 T& result ()
208208 {
209- rethrow_if_unhandled_exception ();
209+ this -> rethrow_if_unhandled_exception ();
210210 return *reinterpret_cast <T*>(&m_valueStorage);
211211 }
212212
@@ -236,7 +236,7 @@ namespace cppcoro
236236
237237 void result ()
238238 {
239- rethrow_if_unhandled_exception ();
239+ this -> rethrow_if_unhandled_exception ();
240240 }
241241
242242 };
@@ -260,7 +260,7 @@ namespace cppcoro
260260
261261 T& result ()
262262 {
263- rethrow_if_unhandled_exception ();
263+ this -> rethrow_if_unhandled_exception ();
264264 return *m_value;
265265 }
266266
@@ -387,12 +387,12 @@ namespace cppcoro
387387
388388 decltype (auto ) await_resume()
389389 {
390- if (!m_coroutine)
390+ if (!this -> m_coroutine )
391391 {
392392 throw broken_promise{};
393393 }
394394
395- return m_coroutine.promise ().result ();
395+ return this -> m_coroutine .promise ().result ();
396396 }
397397 };
398398
Original file line number Diff line number Diff line change @@ -341,12 +341,12 @@ namespace cppcoro
341341
342342 decltype (auto ) await_resume()
343343 {
344- if (!m_coroutine)
344+ if (!this -> m_coroutine )
345345 {
346346 throw broken_promise{};
347347 }
348348
349- return m_coroutine.promise ().result ();
349+ return this -> m_coroutine .promise ().result ();
350350 }
351351 };
352352
@@ -361,12 +361,12 @@ namespace cppcoro
361361
362362 decltype (auto ) await_resume()
363363 {
364- if (!m_coroutine)
364+ if (!this -> m_coroutine )
365365 {
366366 throw broken_promise{};
367367 }
368368
369- return std::move (m_coroutine.promise ()).result ();
369+ return std::move (this -> m_coroutine .promise ()).result ();
370370 }
371371 };
372372
You can’t perform that action at this time.
0 commit comments