From baa34808638f175668ba2556cdcd464064ee1b53 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Fri, 19 Jan 2018 08:31:52 +0100 Subject: [PATCH] Avoid use of gold hammer --- src/Plugins/MEDWriter/IO/vtkMEDWriter.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.39.2