From 20d5eb56982562ee0668a20005c1f47dbb6dfadb Mon Sep 17 00:00:00 2001 From: Hermann Kraus Date: Sun, 25 Jul 2010 21:03:35 +0000 Subject: [PATCH] Make "default-output" attribute optional. --- src/load_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/load_map.cpp b/src/load_map.cpp index aa338cf2b..94e0ecafc 100644 --- a/src/load_map.cpp +++ b/src/load_map.cpp @@ -362,7 +362,7 @@ void map_parser::parse_metawriter(Map & map, ptree const & pt) string type = get_attr(pt, "type"); if (type == "json") { string file = get_attr(pt, "file"); - optional properties = get_attr(pt, "default-output"); + optional properties = get_opt_attr(pt, "default-output"); writer = metawriter_ptr(new metawriter_json(properties, file)); } else { throw config_error(string("Unknown type '") + type + "'");