mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update RigConfig
This commit is contained in:
parent
1b41a75cf4
commit
beac332c96
15 changed files with 230 additions and 62 deletions
|
|
@ -238,11 +238,11 @@ Value Parser::parseValue() {
|
|||
throw error("unexpected character '"+std::string({next})+"'");
|
||||
}
|
||||
|
||||
dynamic::Map_sptr json::parse(const std::string& filename, const std::string& source) {
|
||||
dynamic::Map_sptr json::parse(std::string_view filename, std::string_view source) {
|
||||
Parser parser(filename, source);
|
||||
return parser.parse();
|
||||
}
|
||||
|
||||
dynamic::Map_sptr json::parse(const std::string& source) {
|
||||
dynamic::Map_sptr json::parse(std::string_view source) {
|
||||
return parse("<string>", source);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue