]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
do not redirect std::cout in _DEBUG_ mode BR_imps_2013
authoreap <eap@opencascade.com>
Wed, 8 Jan 2014 14:57:14 +0000 (14:57 +0000)
committereap <eap@opencascade.com>
Wed, 8 Jan 2014 14:57:14 +0000 (14:57 +0000)
src/NETGENPlugin/NETGENPlugin_Mesher.cxx

index 36f13249524f1bf4f1fa223b05c9deed45185e8a..379099e4c58bded77955e822f7d24e59d90297cd 100644 (file)
@@ -3614,8 +3614,9 @@ NETGENPlugin_NetgenLibWrapper::NETGENPlugin_NetgenLibWrapper()
   _coutBuffer     = std::cout.rdbuf();
 #ifdef _DEBUG_
   cout << "NOTE: netgen output is redirected to file " << _outputFileName << endl;
-#endif
+#else
   std::cout.rdbuf( netgen::mycout->rdbuf() );
+#endif
 
   _ngMesh = Ng_NewMesh();
 }