summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/coro/generator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/coro/generator.h b/vespalib/src/vespa/vespalib/coro/generator.h
index 01cf0931094..7b09bc5e979 100644
--- a/vespalib/src/vespa/vespalib/coro/generator.h
+++ b/vespalib/src/vespa/vespalib/coro/generator.h
@@ -76,6 +76,7 @@ public:
ptr = std::addressof(value_cpy);
}
awaiter(awaiter&&) = delete;
+ awaiter(const awaiter&) = delete;
T value_cpy;
};
return awaiter(value, _ptr);