VertexLoaderBase: Return debug strings by value

An out parameter for this sort of thing is a C++03 hold-over. This also
renames AppendToString to ToString.
This commit is contained in:
Lioncash
2017-03-26 22:17:37 -04:00
parent 8033a72f0b
commit 9859533ab4
4 changed files with 22 additions and 22 deletions

View File

@ -51,8 +51,7 @@ VertexLoaderX64::VertexLoaderX64(const TVtxDesc& vtx_desc, const VAT& vtx_att)
GenerateVertexLoader();
WriteProtect();
std::string name;
AppendToString(&name);
const std::string name = ToString();
JitRegister::Register(region, GetCodePtr(), name.c_str());
}