Skip to content

Commit

Permalink
Add new constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenrbrandt committed Jan 23, 2018
1 parent c9beadf commit 4af283e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/hello_world_component/hello_world_component.hpp
Expand Up @@ -36,7 +36,11 @@ namespace examples
typedef hpx::components::client_base<hello_world, server::hello_world>
base_type;

hello_world(hpx::future<hpx::id_type> f)
hello_world(hpx::future<hpx::naming::id_type> && f)
: base_type(std::move(f))
{}

hello_world(hpx::naming::id_type && f)
: base_type(std::move(f))
{}

Expand Down

0 comments on commit 4af283e

Please sign in to comment.