mirror of https://github.com/OpenRCT2/OpenRCT2.git
fix remaining issues with theme refactor branch
This commit is contained in:
parent
7e1ce4fcc6
commit
5c2e951d3f
|
@ -13,7 +13,7 @@ namespace Json
|
|||
size_t fileLength = (size_t)fs.GetLength();
|
||||
if (fileLength > maxSize)
|
||||
{
|
||||
throw IOException("Language file too large.");
|
||||
throw IOException("Json file too large.");
|
||||
}
|
||||
|
||||
utf8 * fileData = Memory::Allocate<utf8>(fileLength + 1);
|
||||
|
|
|
@ -47,7 +47,7 @@ public:
|
|||
void Insert(T item, size_t index)
|
||||
{
|
||||
Guard::ArgumentInRange(index, (size_t)0, this->size());
|
||||
this->insert()
|
||||
this->insert(this->begin() + index, item);
|
||||
}
|
||||
|
||||
bool Remove(T item)
|
||||
|
|
Loading…
Reference in New Issue