Code optimization.

This commit is contained in:
spx
2010-11-25 15:34:49 +00:00
parent d299d89ede
commit 0e1486f0be
13 changed files with 106 additions and 35 deletions

View File

@ -211,7 +211,12 @@ void CMeterBitmap::ReadConfig(const WCHAR* section)
}
else
{
throw CError(std::wstring(L"BitmapAlign=") + align + L" is not valid in meter [" + m_Name + L"].", __LINE__, __FILE__);
std::wstring error = L"BitmapAlign=";
error += align;
error += L" is not valid in meter [";
error += m_Name;
error += L"].";
throw CError(error, __LINE__, __FILE__);
}
if (m_Initialized)