Changeset 790 for trunk/test
- Timestamp:
- Mar 10, 2007, 9:49:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/vector_test.cc
r789 r790 116 116 { 117 117 *message << "assignment operator" << std::endl; 118 // GSL will catch the error in this test there for the GSL error 119 // handling must be disabled until after the exception is 120 // catched. The GSL error handler is reinstated after the 121 // try-catch construct. 122 gsl_error_handler_t* err_handler=gsl_set_error_handler_off(); 118 123 bool exception_happens=false; 119 124 try { … … 128 133 ok=false; 129 134 } 135 gsl_set_error_handler(err_handler); 130 136 } 131 137
Note: See TracChangeset
for help on using the changeset viewer.