From: Anthony Geay Date: Fri, 19 Jan 2018 07:31:52 +0000 (+0100) Subject: Avoid use of gold hammer X-Git-Tag: V8_5_0a1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=baa34808638f175668ba2556cdcd464064ee1b53;p=modules%2Fparavis.git Avoid use of gold hammer --- diff --git a/src/Plugins/MEDWriter/IO/vtkMEDWriter.cxx b/src/Plugins/MEDWriter/IO/vtkMEDWriter.cxx index 4c6cd3ef..3abe4dee 100644 --- a/src/Plugins/MEDWriter/IO/vtkMEDWriter.cxx +++ b/src/Plugins/MEDWriter/IO/vtkMEDWriter.cxx @@ -212,8 +212,7 @@ int vtkMEDWriter::RequestUpdateExtent(vtkInformation* vtkNotUsed(request), vtkIn return 1; } -template -void ExceptionDisplayer(vtkMEDWriter *self, const std::string& fileName, T& e) +void ExceptionDisplayer(vtkMEDWriter *self, const std::string& fileName, std::exception& e) { std::ostringstream oss; oss << "Exception has been thrown in vtkMEDWriter::RequestData : During writing of \"" << fileName << "\", the following exception has been thrown : "<< e.what() << std::endl;