Commit 8dbbda1f authored by Davis King's avatar Davis King

simplified code

parent b3254eaf
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment