diff options
Diffstat (limited to 'XMLParser.cpp')
-rw-r--r-- | XMLParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/XMLParser.cpp b/XMLParser.cpp index 8dda552..3d6e6cf 100644 --- a/XMLParser.cpp +++ b/XMLParser.cpp @@ -13,7 +13,7 @@ XMLParser::XMLParser() { Parser::register_strategy(this); } -unsigned int XMLParser::heuristic(File & f) { +unsigned int XMLParser::heuristic(FileStrategy & f) { const string content = f.read(); int open_backets = 0; int close_brackets = 0; @@ -26,7 +26,7 @@ unsigned int XMLParser::heuristic(File & f) { return (open_backets + close_brackets) / penalty; } -void XMLParser::parse(File & f, Deserializer & d) { +void XMLParser::parse(FileStrategy & f, Deserializer & d) { using namespace pugi; const string content = f.read(); |