Skip to content

Commit

Permalink
Fixing receive_buffer test
Browse files Browse the repository at this point in the history
Adding a trailing return type to make the Intel 13 compiler happy.
  • Loading branch information
sithhell committed Sep 30, 2015
1 parent 8be093d commit 7d2bb84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/regressions/lcos/receive_buffer_1733.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void test_receive_buffer_server::do_work()
hpx::future<std::size_t> f = receive(i);
steps.push_back(
f.then(
[this, i](hpx::future<std::size_t> && f)
[this, i](hpx::future<std::size_t> && f) -> std::size_t
{
std::size_t val = f.get();
send(i + 1, val + 1);
Expand Down

0 comments on commit 7d2bb84

Please sign in to comment.