Rev | Line | |
---|
[12679] | 1 | Index: /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/shared/Exceptions/Exceptions.cpp
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/shared/Exceptions/Exceptions.cpp (revision 12478)
|
---|
| 4 | +++ /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/shared/Exceptions/Exceptions.cpp (revision 12479)
|
---|
| 5 | @@ -19,7 +19,7 @@
|
---|
| 6 | file_line=0;
|
---|
| 7 | }
|
---|
| 8 |
|
---|
| 9 | -ErrorException::ErrorException(string what_file,string what_function,int what_line,string what_arg){
|
---|
| 10 | +ErrorException::ErrorException(const string& what_file, const string& what_function,int what_line, const string& what_arg){
|
---|
| 11 |
|
---|
| 12 | what_str=what_arg;
|
---|
| 13 | file_name=what_file;
|
---|
| 14 | Index: /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/shared/Exceptions/exceptions.h
|
---|
| 15 | ===================================================================
|
---|
| 16 | --- /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/shared/Exceptions/exceptions.h (revision 12478)
|
---|
| 17 | +++ /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/shared/Exceptions/exceptions.h (revision 12479)
|
---|
| 18 | @@ -23,7 +23,7 @@
|
---|
| 19 |
|
---|
| 20 | public:
|
---|
| 21 | ErrorException(const string &what_arg); //for windows
|
---|
| 22 | - ErrorException(string what_file,string what_function,int what_line,string what_arg);//UNIX
|
---|
| 23 | + ErrorException(const string& what_file,const string& what_function,int what_line,const string& what_arg);//UNIX
|
---|
| 24 | ~ErrorException() throw();
|
---|
| 25 | virtual const char *what() const throw();
|
---|
| 26 | void Report();
|
---|
Note:
See
TracBrowser
for help on using the repository browser.