Skip to content

Commit

Permalink
#2071: remove WorkerCountType since using it in a deprecated declar…
Browse files Browse the repository at this point in the history
…ation caused deprecation warnings on some compilers
  • Loading branch information
nmm0 committed Jan 18, 2023
1 parent a7a509a commit 741c87b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/vt/collective/collective_ops.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ struct CollectiveAnyOps {
arguments::AppConfig const* appConfig = nullptr
);
[[deprecated]] static RuntimePtrType initialize(
int& argc, char**& argv, WorkerCountType const /* num_workers */,
int& argc, char**& argv, PhysicalResourceType const /* num_workers */,
bool is_interop = false, MPI_Comm* comm = nullptr,
arguments::AppConfig const* appConfig = nullptr
)
Expand Down
2 changes: 0 additions & 2 deletions src/vt/configs/types/types_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ using NodeType = PhysicalResourceType;
/// Used to hold a core ID
using CoreType = PhysicalResourceType;

using WorkerCountType [[deprecated]] = PhysicalResourceType;

// Runtime system entity types
/// Used to hold a handler ID which identifier a function pointer/context
using HandlerType = int64_t;
Expand Down

0 comments on commit 741c87b

Please sign in to comment.