From c552070230c4ad9c92b516c28658b5c74c57e46b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 11 Jun 2015 18:12:09 +0200 Subject: Outline of parsing and serialization for manifest object model --- tests/manifest-roundtrip/driver.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/manifest-roundtrip/driver.cxx') diff --git a/tests/manifest-roundtrip/driver.cxx b/tests/manifest-roundtrip/driver.cxx index 45abc67..f8a95bd 100644 --- a/tests/manifest-roundtrip/driver.cxx +++ b/tests/manifest-roundtrip/driver.cxx @@ -26,12 +26,12 @@ main (int argc, char* argv[]) ifs.exceptions (ifstream::badbit | ifstream::failbit); ifs.open (argv[1], ifstream::in | ifstream::binary); - manifest_parser p (ifs, ""); + manifest_parser p (ifs, argv[1]); manifest_serializer s (cout, "stdout"); for (bool eom (true), eos (false); !eos; ) { - auto nv (p.next ()); + manifest_name_value nv (p.next ()); if (nv.empty ()) // End pair. { -- cgit v1.1