Used to_string instead

This commit is contained in:
KiritoDv
2024-03-10 16:26:48 -06:00
parent 914e7e6ddb
commit 70800a9144
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ void DListCodeExporter::Export(std::ostream &write, std::shared_ptr<IParsedData>
if (Companion::Instance->IsDebug()) {
const auto sz = (sizeof(uint32_t) * cmds.size());
write << "// count: " << (sz / 8) << " DLists\n";
write << "// count: " << std::to_string(sz / 8) << " DLists\n";
if (IS_SEGMENTED(offset)) {
offset = SEGMENT_OFFSET(offset);
}
+1 -1
View File
@@ -64,7 +64,7 @@ void VtxCodeExporter::Export(std::ostream &write, std::shared_ptr<IParsedData> r
write << "};\n";
if (Companion::Instance->IsDebug()) {
write << "// count: " << vtx.size() << " Vtxs\n";
write << "// count: " << std::to_string(vtx.size()) << " Vtxs\n";
write << "// 0x" << std::hex << std::uppercase << (offset + (sizeof(VtxRaw) * vtx.size())) << "\n";
}