patch_manager: add download button

This commit is contained in:
Megamouse 2020-09-06 11:47:45 +02:00
parent 1e4655aef6
commit 46e8b4f561
10 changed files with 147 additions and 22 deletions

View file

@ -36,12 +36,12 @@ std::pair<YAML::Node, std::string> yaml_load(const std::string& from)
{
result = YAML::Load(from);
}
catch(const std::exception& e)
catch (const std::exception& e)
{
return{YAML::Node(), std::string("YAML exception: ") + e.what()};
return {YAML::Node(), std::string("YAML exception: ") + e.what()};
}
return{result, ""};
return {result, ""};
}
template <typename T>