construct tag string without using +=

meow-7.2.2
Oz Linden 2017-03-09 17:56:30 -05:00
parent cb9bddf683
commit dd63291355
1 changed files with 3 additions and 2 deletions

View File

@ -571,9 +571,10 @@ namespace LLError
mFunctionString += std::string(mFunction) + ":";
for (size_t i = 0; i < mTagCount; i++)
{
mTagString += mTags[i] + ((i == mTagCount - 1) ? "" : ",");
mTagString.append(mTags[i]);
mTagString.append((i == mTagCount - 1) ? "" : ",");
}
mTagString += std::string("#");
mTagString.append("#");
}
CallSite::~CallSite()