source: issm/oecreview/Archive/12321-12677/ISSM-12478-12479.diff

Last change on this file was 12679, checked in by Mathieu Morlighem, 13 years ago

Added 12321-12677

File size: 1.4 KB
  • u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/shared/Exceptions/Exceptions.cpp

     
    1919        file_line=0;
    2020}
    2121
    22 ErrorException::ErrorException(string what_file,string what_function,int what_line,string what_arg){
     22ErrorException::ErrorException(const string& what_file, const string& what_function,int what_line, const string& what_arg){
    2323
    2424        what_str=what_arg;
    2525        file_name=what_file;
  • u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/shared/Exceptions/exceptions.h

     
    2323
    2424        public:
    2525        ErrorException(const string &what_arg); //for windows
    26         ErrorException(string what_file,string what_function,int what_line,string what_arg);//UNIX
     26        ErrorException(const string&  what_file,const string& what_function,int what_line,const string& what_arg);//UNIX
    2727        ~ErrorException() throw();
    2828        virtual const char *what() const throw();
    2929        void Report();
Note: See TracBrowser for help on using the repository browser.