Index: /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/shared/Exceptions/Exceptions.cpp =================================================================== --- /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/shared/Exceptions/Exceptions.cpp (revision 12478) +++ /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/shared/Exceptions/Exceptions.cpp (revision 12479) @@ -19,7 +19,7 @@ file_line=0; } -ErrorException::ErrorException(string what_file,string what_function,int what_line,string what_arg){ +ErrorException::ErrorException(const string& what_file, const string& what_function,int what_line, const string& what_arg){ what_str=what_arg; file_name=what_file; Index: /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/shared/Exceptions/exceptions.h =================================================================== --- /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/shared/Exceptions/exceptions.h (revision 12478) +++ /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/shared/Exceptions/exceptions.h (revision 12479) @@ -23,7 +23,7 @@ public: ErrorException(const string &what_arg); //for windows - ErrorException(string what_file,string what_function,int what_line,string what_arg);//UNIX + ErrorException(const string& what_file,const string& what_function,int what_line,const string& what_arg);//UNIX ~ErrorException() throw(); virtual const char *what() const throw(); void Report();