From 0c413d51880d89560e25d6f35255ed66851e940a Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 21 Jul 2008 10:02:25 +0000 Subject: [PATCH] [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics make the generic name unique at each Compute() call --- src/GHS3DPlugin_Hypothesis.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GHS3DPlugin_Hypothesis.cxx b/src/GHS3DPlugin_Hypothesis.cxx index 4137e18..525b3db 100644 --- a/src/GHS3DPlugin_Hypothesis.cxx +++ b/src/GHS3DPlugin_Hypothesis.cxx @@ -610,7 +610,7 @@ string GHS3DPlugin_Hypothesis::GetFileName(const GHS3DPlugin_Hypothesis* hyp) aGenericName += getpid(); #endif aGenericName += "_"; - aGenericName += Abs((Standard_Integer)(long) & aGenericName); + aGenericName += Abs((Standard_Integer)(long) aGenericName.ToCString()); return aGenericName.ToCString(); } -- 2.39.2