We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba4dabd commit f42e2efCopy full SHA for f42e2ef
2 files changed
include/condy/detail/context.hpp
@@ -10,7 +10,6 @@
10
11
namespace condy {
12
13
-class Ring;
14
class Runtime;
15
16
namespace detail {
include/condy/detail/coro.hpp
@@ -71,6 +71,7 @@ class BindAllocator : public Promise {
71
Allocator &alloc = *std::launder(
72
reinterpret_cast<Allocator *>(mem + allocator_offset));
73
Allocator alloc_copy = std::move(alloc);
74
+ // NOLINTNEXTLINE(bugprone-use-after-move)
75
alloc.~Allocator();
76
alloc_copy.deallocate(mem, total_size);
77
}
@@ -350,6 +351,7 @@ class Promise
350
351
public:
352
void return_value(T value) { value_ = std::move(value); }
353
354
+ // NOLINTNEXTLINE(bugprone-unchecked-optional-access)
355
T value() { return std::move(value_.value()); }
356
357
private:
0 commit comments