mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 09:20:34 +05:00
maj TUI
This commit is contained in:
parent
214e994c0c
commit
d37a77ee95
@ -364,7 +364,16 @@ char* MG_ADAPT_i::getCommandToRun()
|
|||||||
CORBA::Long MG_ADAPT_i::compute()
|
CORBA::Long MG_ADAPT_i::compute()
|
||||||
{
|
{
|
||||||
errStr = "";
|
errStr = "";
|
||||||
CORBA::Long ret = myMgAdapt->compute(errStr);
|
CORBA::Long ret;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
ret = myMgAdapt->compute(errStr);
|
||||||
|
}
|
||||||
|
catch (const std::exception& e)
|
||||||
|
{
|
||||||
|
std::cerr<<e.what();
|
||||||
|
ret = -1;
|
||||||
|
}
|
||||||
//~errStr = err.c_str();
|
//~errStr = err.c_str();
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user