I stumbled on some code yesterday:
void
TestCase::run (TestResult *result)
{
[...]
try {
runTest ();
}
[...]
catch (exception& e) {
result->addError (this, new Exception (e.what ()));
}
=> shouldn't that be std::exception ?
Baptiste.
---
Baptiste Lepilleur <gai...@fr...> http://gaiacrtn.free.fr/index.html
Author of The Text Reformatter, a tool for fanfiction readers and writers.
Language: English, French (Well, I'm French).
|