mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
simplified code
This commit is contained in:
parent
b3254eaf0c
commit
8dbbda1fcf
@ -313,7 +313,7 @@ namespace dlib
|
||||
if (!fin)
|
||||
throw dlib::error("ERROR: unable to open " + filename + " for reading.");
|
||||
|
||||
xml_parser::kernel_1a parser;
|
||||
xml_parser parser;
|
||||
parser.add_document_handler(dh);
|
||||
parser.add_error_handler(eh);
|
||||
parser.parse(fin);
|
||||
|
Loading…
Reference in New Issue
Block a user