mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
fix remaining issues with theme refactor branch
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user