diff options
-rw-r--r-- | channels/channels.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/channels.cpp b/channels/channels.cpp index 8c5b090..f1964db 100644 --- a/channels/channels.cpp +++ b/channels/channels.cpp @@ -21,8 +21,8 @@ int main() { channel c; int x = 1; c.write(x); - std::cout << std::any_cast<int>(c.read()) << endl; + std::cout << std::any_cast<int>(c.read()) << std::endl; std::string y = "Hello world"; c.write(y); - std::cout << std::any_cast<std::string>(c.read()) << endl; + std::cout << std::any_cast<std::string>(c.read()) << std::endl; } |