We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f533d1f commit 92892f3Copy full SHA for 92892f3
include/cppcoro/recursive_generator.hpp
@@ -16,7 +16,7 @@
16
namespace cppcoro
17
{
18
template<typename T>
19
- class recursive_generator
+ class [[nodiscard]] recursive_generator
20
21
public:
22
include/cppcoro/shared_task.hpp
@@ -292,7 +292,7 @@ namespace cppcoro
292
}
293
294
template<typename T = void>
295
- class shared_task
+ class [[nodiscard]] shared_task
296
297
298
0 commit comments