Skip to content

Commit c1a4067

Browse files
committed
Fix _do_while patch on Linux.
1 parent 11bc9f0 commit c1a4067

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Release/include/cpprest/astreambuf.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ namespace Concurrency
2727
namespace details
2828
{
2929
template<bool B=true>
30-
task<bool> _do_while(std::function<task<bool>(void)> func)
30+
pplx::task<bool> _do_while(std::function<pplx::task<bool>(void)> func)
3131
{
32-
task<bool> first = func();
33-
return first.then([=](bool guard) -> task<bool> {
32+
pplx::task<bool> first = func();
33+
return first.then([=](bool guard) -> pplx::task<bool> {
3434
if (guard)
3535
return Concurrency::details::_do_while<B>(func);
3636
else

0 commit comments

Comments
 (0)