From f3c6c6123da841537b10598e766e1b61a7e66b54 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Mon, 9 Jun 2014 17:10:17 +0200 Subject: Deduplicate ParseStack::ParseFile() and ParseExec() --- include/configparser.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/configparser.h') diff --git a/include/configparser.h b/include/configparser.h index 8292fdda5..f46d143ae 100644 --- a/include/configparser.h +++ b/include/configparser.h @@ -53,8 +53,7 @@ struct ParseStack vars["quot"] = "\""; vars["newline"] = vars["nl"] = "\n"; } - bool ParseFile(const std::string& name, int flags, const std::string& mandatory_tag = ""); - bool ParseExec(const std::string& name, int flags, const std::string& mandatory_tag = ""); + bool ParseFile(const std::string& name, int flags, const std::string& mandatory_tag = std::string(), bool isexec = false); void DoInclude(ConfigTag* includeTag, int flags); void DoReadFile(const std::string& key, const std::string& file, int flags, bool exec); }; -- cgit v1.2.3