mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 23:08:05 -05:00
refactor: use new line character instead of std::endl
This commit is contained in:
@ -59,7 +59,7 @@ bool AssetLoaderRawFile::LoadFromRaw(
|
||||
|
||||
if (ret != Z_STREAM_END)
|
||||
{
|
||||
std::cout << "Deflate failed for loading rawfile \"" << assetName << "\"" << std::endl;
|
||||
std::cout << "Deflate failed for loading rawfile \"" << assetName << "\"\n";
|
||||
deflateEnd(&zs);
|
||||
return false;
|
||||
}
|
||||
|
@ -55,13 +55,13 @@ bool AssetLoaderScriptFile::LoadFromRaw(
|
||||
|
||||
if (scriptFile->compressedLen <= 0 || scriptFile->bytecodeLen <= 0)
|
||||
{
|
||||
std::cerr << "Error: Invalid length of the buffers in " << assetName << " specified" << std::endl;
|
||||
std::cerr << "Error: Invalid length of the buffers in " << assetName << " specified\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (offset + (scriptFile->compressedLen + scriptFile->bytecodeLen) > file.m_length)
|
||||
{
|
||||
std::cerr << "Error: Specified length in " << assetName << " GSC BIN structure exceeds the actual file size" << std::endl;
|
||||
std::cerr << "Error: Specified length in " << assetName << " GSC BIN structure exceeds the actual file size\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user