Skip to content
Permalink
Browse files

Fixing migration test if networking is disabled.

  • Loading branch information...
hkaiser committed Oct 4, 2019
1 parent 866b178 commit 52b0d18ce4916423610db47c8d85ce3e56ac3598
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/runtime/agas/addressing_service.cpp
@@ -961,6 +961,7 @@ bool addressing_service::is_local_address_cached(
// Assume non-local operation if the gid is known to have been migrated
naming::gid_type id(naming::detail::get_stripped_gid_except_dont_cache(gid));

#if defined(HPX_HAVE_NETWORKING)
if (naming::detail::is_migratable(gid))
{
std::lock_guard<mutex_type> lock(migrated_objects_mtx_);
@@ -971,6 +972,7 @@ bool addressing_service::is_local_address_cached(
return false;
}
}
#endif

// Try to resolve the address of the GID from the locally available
// information.

0 comments on commit 52b0d18

Please sign in to comment.
You can’t perform that action at this time.