From 793bb5a13a1cb0ab930d20cc7d92471c36149101 Mon Sep 17 00:00:00 2001 From: Gregor Daiss Date: Thu, 24 Mar 2022 11:09:51 -0500 Subject: [PATCH] Switch to id_type::management_type::unmanaged --- octotiger/node_client.hpp | 2 +- src/node_client.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/octotiger/node_client.hpp b/octotiger/node_client.hpp index 02675c402..90ea863f3 100644 --- a/octotiger/node_client.hpp +++ b/octotiger/node_client.hpp @@ -52,7 +52,7 @@ class node_client arc& id; if (!empty()) { - unmanaged = hpx::id_type(id.get_gid(), hpx::id_type::unmanaged); + unmanaged = hpx::id_type(id.get_gid(), hpx::id_type::management_type::unmanaged); } } diff --git a/src/node_client.cpp b/src/node_client.cpp index 2792e0f18..07ca22912 100644 --- a/src/node_client.cpp +++ b/src/node_client.cpp @@ -28,7 +28,7 @@ hpx::id_type node_client::get_unmanaged_gid() const { node_client& node_client::operator=(hpx::future&& fut) { id = fut.get(); if( !empty() ) { - unmanaged = hpx::id_type(id.get_gid(), hpx::id_type::unmanaged); + unmanaged = hpx::id_type(id.get_gid(), hpx::id_type::management_type::unmanaged); local = hpx::naming::get_locality_from_id(id) == hpx::find_here(); // local = bool(hpx::get_colocation_id(id).get() == hpx::find_here()); } @@ -38,7 +38,7 @@ node_client& node_client::operator=(hpx::future&& fut) { node_client& node_client::operator=(const hpx::id_type& _id) { id = _id; if (!empty()) { - unmanaged = hpx::id_type(id.get_gid(), hpx::id_type::unmanaged); + unmanaged = hpx::id_type(id.get_gid(), hpx::id_type::management_type::unmanaged); local = hpx::naming::get_locality_from_id(id) == hpx::find_here(); // local = bool(hpx::get_colocation_id(id).get() == hpx::find_here()); } @@ -48,7 +48,7 @@ node_client& node_client::operator=(const hpx::id_type& _id) { node_client::node_client(hpx::future&& fut) { id = fut.get(); if( !empty() ) { - unmanaged = hpx::id_type(id.get_gid(), hpx::id_type::unmanaged); + unmanaged = hpx::id_type(id.get_gid(), hpx::id_type::management_type::unmanaged); local = hpx::naming::get_locality_from_id(id) == hpx::find_here(); // local = bool(hpx::get_colocation_id(id).get() == hpx::find_here()); } @@ -57,7 +57,7 @@ node_client::node_client(hpx::future&& fut) { node_client::node_client(const hpx::id_type& _id) { id = _id; if (!empty()) { - unmanaged = hpx::id_type(id.get_gid(), hpx::id_type::unmanaged); + unmanaged = hpx::id_type(id.get_gid(), hpx::id_type::management_type::unmanaged); local = hpx::naming::get_locality_from_id(id) == hpx::find_here(); } }