]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/runtime/RuntimeSALOME.cxx
Salome HOME
Patch for MacOS (from SALOME forum)
[modules/yacs.git] / src / runtime / RuntimeSALOME.cxx
index 7fbeb28d38ca8bc25633b0c89da3c76c3e9629d4..31985cf2f7c8a706dbe86fe68fab83cf78ea44fc 100644 (file)
@@ -139,8 +139,8 @@ void RuntimeSALOME::setRuntime(long flags, int argc, char* argv[]) // singleton
 
 RuntimeSALOME* YACS::ENGINE::getSALOMERuntime()
 {
-  YASSERT(Runtime::_singleton);
-  return dynamic_cast< RuntimeSALOME* >(Runtime::_singleton);
+  YASSERT(RuntimeSALOME::getSingleton());
+  return dynamic_cast< RuntimeSALOME* >(RuntimeSALOME::getSingleton());
 }
 
 /**