Break comment to respect 100 column limit (#1069)

This commit is contained in:
brenoguim 2017-10-28 20:24:08 -02:00 committed by Jonathan Wakely
parent c9fd263e07
commit 165c79b417

View File

@ -13399,7 +13399,8 @@ Application concepts are easier to reason about.
void some_fun() { void some_fun() {
std::string msg, msg2; std::string msg, msg2;
std::thread publisher([&] { msg = "Hello"; }); // bad (less expressive and more error-prone) std::thread publisher([&] { msg = "Hello"; }); // bad: less expressive
// and more error-prone
auto pubtask = std::async([&] { msg2 = "Hello"; }); // OK auto pubtask = std::async([&] { msg2 = "Hello"; }); // OK
// ... // ...
publisher.join(); publisher.join();