Skip to content

Commit

Permalink
Remove unneeded inlines
Browse files Browse the repository at this point in the history
  • Loading branch information
atrantan committed May 16, 2017
1 parent 4657f0e commit 2fbc1d6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions hpx/parallel/spmd_block.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace hpx { namespace parallel { HPX_INLINE_NAMESPACE(v2)
typename = typename std::enable_if<
hpx::parallel::v1::is_async_execution_policy<ExPolicy>::value>::type
>
inline std::vector<hpx::future<void>>
std::vector<hpx::future<void>>
define_spmd_block(ExPolicy && policy,
std::size_t num_images, F && f, Args && ... args)
{
Expand All @@ -46,8 +46,7 @@ namespace hpx { namespace parallel { HPX_INLINE_NAMESPACE(v2)
typename = typename std::enable_if<
!hpx::parallel::v1::is_async_execution_policy<ExPolicy>::value>::type
>
inline void
define_spmd_block(ExPolicy && policy,
void define_spmd_block(ExPolicy && policy,
std::size_t num_images, F && f, Args && ... args)
{
hpx::lcos::local::define_spmd_block(
Expand All @@ -56,7 +55,7 @@ namespace hpx { namespace parallel { HPX_INLINE_NAMESPACE(v2)
}

template <typename F, typename ... Args>
inline void define_spmd_block(std::size_t num_images,
void define_spmd_block(std::size_t num_images,
F && f, Args && ... args)
{
hpx::lcos::local::define_spmd_block(parallel::execution::par,
Expand Down

0 comments on commit 2fbc1d6

Please sign in to comment.