Eric Ramat 7 years ago
parent
commit
892650529a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/paradevs/common/Node.hpp

+ 2 - 2
src/paradevs/common/Node.hpp

@@ -55,7 +55,7 @@ public :
 
     bool operator<(const Node < Time >& o) const
     {
-      if (o.model == _model) {
+      if (o._model == _model) {
 	return o._port_name < _port_name;
       } else {
 	return o._model < _model;
@@ -65,7 +65,7 @@ public :
 
     bool operator==(const Node < Time >& o) const
     {
-      return (o.port_name == _port_name and o.model == _model);
+      return (o._port_name == _port_name and o._model == _model);
       //return _id == o._id;
     }