mirror of
https://gitlab.com/niansa/libasync.git
synced 2025-03-06 20:53:29 +01:00
Marked async::result as nodiscard
This commit is contained in:
parent
721195383b
commit
1bd95e73e9
2 changed files with 2 additions and 2 deletions
2
frigg
2
frigg
|
@ -1 +1 @@
|
|||
Subproject commit a8e3364e42021e6c8de7bfbf2f1bb03e6e73f0c8
|
||||
Subproject commit 46da5578a20cf7105fd7b80af7f3c3d0c868f9f7
|
|
@ -60,7 +60,7 @@ template<typename T, typename R>
|
|||
struct result_operation;
|
||||
|
||||
template<typename T>
|
||||
struct result {
|
||||
struct [[nodiscard("async::result must be `co_await`ed")]] result {
|
||||
template<typename T_, typename R>
|
||||
friend struct result_operation;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue