Skip to content

Commit

Permalink
beautifying
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorostsa committed Jun 29, 2023
1 parent 1b39666 commit ee54325
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ namespace hpx {
{
static_assert(
std::is_move_constructible_v<T> && std::is_destructible_v<T>,
"construct_at(dst, T(std::move(*source)) must be well-formed");
"construct_at(dst, std::move(*source)) must be well-formed");

return hpx::detail::relocate_at_helper(
0, src, dst); // The zero is a dummy argument
Expand Down
6 changes: 2 additions & 4 deletions libs/core/type_support/tests/unit/relocate_at.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Relocation tests TODO
*/

int hpx_main(hpx::program_options::variables_map& vm)
int hpx_main()
{
{
void* mem1 = std::malloc(sizeof(non_trivially_relocatable_struct));
Expand Down Expand Up @@ -133,8 +133,6 @@ int hpx_main(hpx::program_options::variables_map& vm)

int main(int argc, char* argv[])
{
HPX_TEST_EQ_MSG(hpx::local::init(hpx_main, argc, argv), 0,
"HPX main exited with non-zero status");

hpx::local::init(hpx_main, argc, argv);
return hpx::util::report_errors();
}

0 comments on commit ee54325

Please sign in to comment.