Skip to content

Commit 9a708d2

Browse files
authored
Merge pull request #249 from donpellegrino/248-remove-unused-execption-in-basichdt
248 remove unused exception in basichdt
2 parents e3e4b40 + 3b284b0 commit 9a708d2

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

libhdt/src/hdt/BasicHDT.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -319,17 +319,10 @@ void BasicHDT::loadTriples(const char* fileName, const char* baseUri, RDFNotatio
319319
cout << "Catch exception triples" << e << endl;
320320
delete triplesList;
321321
throw e;
322-
#ifndef WIN32
323-
} catch (char *e) {
324-
cout << "Catch exception triples" << e << endl;
325-
delete triplesList;
326-
throw e;
327-
#else
328322
} catch (std::exception& e) {
329323
// cerr << "Catch exception triples" << e << endl;
330324
delete triplesList;
331325
throw;
332-
#endif
333326
}
334327
if (triples->getType() == triplesList->getType()) {
335328
delete triples;

0 commit comments

Comments
 (0)