From 867af71e99e4e95e06bedb1420e8acd1edc7e0fc Mon Sep 17 00:00:00 2001 From: atollk <1518021+atollk@users.noreply.github.com> Date: Mon, 26 Apr 2021 02:39:47 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 31d6335..040aa86 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ void consumer() { while (copper::select( channel_1 >> [](int x) { std::cout << "Message from producer 1: " << x << std::endl; }, channel_2 >> [](int x) { std::cout << "Message from producer 2: " << x << std::endl; } - )); + ) == copper::channel_op_status::success); } int main() {