Skip to content

Commit

Permalink
#306: remove reorder warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nlslatt committed Mar 27, 2019
1 parent c68c0d1 commit 62490fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions tests/unit/location/test_location_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ struct EntityMsg : vt::Message {
struct ShortMsg : vt::LocationRoutedMsg<int, vt::ShortMessage> {

ShortMsg(int in_entity, vt::NodeType in_from)
: entity_(in_entity),
from_(in_from)
: from_(in_from),
entity_(in_entity)
{}

vt::NodeType from_ = vt::uninitialized_destination;
Expand All @@ -83,8 +83,8 @@ struct ShortMsg : vt::LocationRoutedMsg<int, vt::ShortMessage> {
struct LongMsg : vt::LocationRoutedMsg<int, vt::Message> {

LongMsg(int in_entity, vt::NodeType in_from)
: entity_(in_entity),
from_(in_from)
: from_(in_from),
entity_(in_entity)
{}

vt::NodeType from_ = vt::uninitialized_destination;
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/termination/test_termination_channel_message.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ struct CtrlMsg : vt::Message {

CtrlMsg() = default;
CtrlMsg(vt::NodeType src, vt::NodeType dst, int nb, vt::EpochType epoch)
: src_(src),
: count_(nb),
src_(src),
dst_(dst),
count_(nb),
epoch_(epoch)
{}
CtrlMsg(vt::NodeType src, vt::NodeType dst, int nb) : CtrlMsg(src,dst,nb,vt::no_epoch) {}
Expand Down

0 comments on commit 62490fb

Please sign in to comment.