Skip to content

Commit

Permalink
#1659: clean-up LBType
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Oct 13, 2022
1 parent 25a6bd8 commit ee0a4b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/vt/vrt/collection/balance/lb_type.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
//@HEADER
*/

#include "vt/config.h"
#include "vt/vrt/collection/balance/lb_common.h"
#include "vt/vrt/collection/balance/lb_type.h"

Expand Down
10 changes: 3 additions & 7 deletions src/vt/vrt/collection/balance/lb_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@

#include "vt/configs/features/features_defines.h"

#include <unordered_map>
#include <string>
#include <type_traits>
#include <unordered_map>

namespace vt { namespace vrt { namespace collection { namespace balance {

Expand All @@ -67,6 +67,8 @@ enum struct LBType : int8_t {
, TemperedWMin = 9
};

std::unordered_map<LBType, std::string>& get_lb_names();

}}}} /* end namespace vt::vrt::collection::balance */

namespace std {
Expand All @@ -83,10 +85,4 @@ struct hash<vt::vrt::collection::balance::LBType> {

} /* end namespace std */

namespace vt { namespace vrt { namespace collection { namespace balance {

std::unordered_map<LBType, std::string>& get_lb_names();

}}}} /* end namespace vt::vrt::collection::balance */

#endif /*INCLUDED_VT_VRT_COLLECTION_BALANCE_LB_TYPE_H*/

0 comments on commit ee0a4b1

Please sign in to comment.