]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/engine/AnyInputPort.hxx
Salome HOME
Manage initnode and finalizenode in the foreachloop progress bar.
[modules/yacs.git] / src / engine / AnyInputPort.hxx
index 7978410c5a20b65f2c2eaeda9ea394101d3e82bf..d329635c8e15f8831ab3a0691f456662958266c2 100644 (file)
@@ -39,7 +39,7 @@ namespace YACS
       void exSaveInit();
       void exRestoreInit();
       Any *getValue() const { return _value; }
-      int getIntValue() const { return _value->getIntValue(); }
+      int getIntValue() const { return _value ? _value->getIntValue():0; }
       void put(Any *data);
       void *get() const;
       virtual std::string getAsString();