fix build

This commit is contained in:
supermerill 2020-12-08 00:11:32 +01:00
parent 197fb4ead0
commit 7a9e16a21f
2 changed files with 2780 additions and 2537 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1102,7 +1102,7 @@ size_t PresetBundle::load_configbundle(const std::string &path, unsigned int fla
}catch(const std::exception& ex) {
std::stringstream ss;
ss << "Error when reading bundle file " << path << ", error: " << ex.what();
throw std::exception(ss.str().c_str());
throw std::runtime_error(ss.str().c_str());
}
//#else
// pt::read_ini(ifs, tree);