Changeset 12479


Ignore:
Timestamp:
06/20/12 14:44:41 (13 years ago)
Author:
utke
Message:

should take const string&

Location:
issm/trunk-jpl/src/c/shared/Exceptions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/shared/Exceptions/Exceptions.cpp

    r12078 r12479  
    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;
  • TabularUnified issm/trunk-jpl/src/c/shared/Exceptions/exceptions.h

    r12079 r12479  
    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();
Note: See TracChangeset for help on using the changeset viewer.