diff --git a/Solver/elasticitySolver.cpp b/Solver/elasticitySolver.cpp
index 04794331916c2b94115192146e5e85205ecb3272..cf6c0b4f5ca4f7877750f5b6687c3bb2731c9a9e 100644
--- a/Solver/elasticitySolver.cpp
+++ b/Solver/elasticitySolver.cpp
@@ -625,25 +625,25 @@ PView *elasticitySolver::buildVonMisesView(const std::string postFileName)
 
 
 #else
-PView* elasticitySolver::buildDisplacementView(const std::string &postFileName)
+PView* elasticitySolver::buildDisplacementView(const std::string postFileName)
 {
   Msg::Error("Post-pro module not available");
   return 0;
 }
 
-PView* elasticitySolver::buildLagrangeMultiplierView (const std::string &postFileName)
+PView* elasticitySolver::buildLagrangeMultiplierView (const std::string postFileName)
 {
   Msg::Error("Post-pro module not available");
   return 0;
 }
 
-PView* elasticitySolver::buildElasticEnergyView(const std::string &postFileName)
+PView* elasticitySolver::buildElasticEnergyView(const std::string postFileName)
 {
   Msg::Error("Post-pro module not available");
   return 0;
 }
 
-PView* elasticitySolver::buildVonMisesView(const std::string &postFileName)
+PView* elasticitySolver::buildVonMisesView(const std::string postFileName)
 {
   Msg::Error("Post-pro module not available");
   return 0;