Skip to content

Commit 70b02ce

Browse files
committed
Fixed compile issue according to Yhfudev master #22
1 parent 4b1fb51 commit 70b02ce

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/Atm_controller.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,17 @@ void Atm_controller::action( int id ) {
4545
bool Atm_controller::eval_one( atm_connector& connector ) {
4646

4747
switch ( connector.relOp() ) {
48-
case connector.REL_EQ:
48+
case atm_connector::REL_EQ:
4949
return connector.pull() == connector.event;
50-
case connector.REL_NEQ:
50+
case atm_connector::REL_NEQ:
5151
return connector.pull() != connector.event;
52-
case connector.REL_LT:
52+
case atm_connector::REL_LT:
5353
return connector.pull() < connector.event;
54-
case connector.REL_GT:
54+
case atm_connector::REL_GT:
5555
return connector.pull() > connector.event;
56-
case connector.REL_LTE:
56+
case atm_connector::REL_LTE:
5757
return connector.pull() <= connector.event;
58-
case connector.REL_GTE:
58+
case atm_connector::REL_GTE:
5959
return connector.pull() >= connector.event;
6060
}
6161
return connector.pull();

0 commit comments

Comments
 (0)