* Config.cpp : don't try to parse config, if path is empty

This commit is contained in:
hagen 2016-01-24 11:04:41 +00:00
parent e6e2f04a10
commit 022642f4d5

View file

@ -118,6 +118,9 @@ namespace config {
}
void ParseConfig(const std::string& path) {
if (path == "")
return;
std::ifstream config(path, std::ios::in);
if (!config.is_open()) {