Skip to content

Commit

Permalink
Initialize pd_reader correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
khuck committed Jul 15, 2019
1 parent cd646da commit 1fa401d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/apex/apex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,6 @@ void apex::_initialize()
listeners.push_back(this->m_policy_handler);
}
}
#if APEX_HAVE_PROC
pd_reader = nullptr;
#endif
this->resize_state(1);
this->set_state(0, APEX_BUSY);
}
Expand Down
3 changes: 3 additions & 0 deletions src/apex/apex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ class apex
apex() :
m_node_id(0),
m_num_ranks(1),
#if APEX_HAVE_PROC
pd_reader(nullptr),
#endif
m_my_locality(std::string("0"))
{
_initialize();
Expand Down

0 comments on commit 1fa401d

Please sign in to comment.