mirror of https://github.com/OpenRCT2/OpenRCT2.git
Remove optional arguments to json_t::parse
This commit is contained in:
parent
72c13c8e77
commit
a896d238b1
|
@ -32,7 +32,7 @@ namespace Json
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
json = json_t::parse(fileData, nullptr, true);
|
json = json_t::parse(fileData);
|
||||||
}
|
}
|
||||||
catch (const json_t::exception& e)
|
catch (const json_t::exception& e)
|
||||||
{
|
{
|
||||||
|
@ -58,7 +58,7 @@ namespace Json
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
json = json_t::parse(raw, nullptr, true);
|
json = json_t::parse(raw);
|
||||||
}
|
}
|
||||||
catch (const json_t::exception& e)
|
catch (const json_t::exception& e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue