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

@ -670,7 +670,10 @@ CMeasure* CMeasure::Create(const WCHAR* measure, CMeterWindow* meterWindow)
}
// Error
throw CError(std::wstring(L"Measure=") + measure + L" is not valid.", __LINE__, __FILE__);
std::wstring error = L"Measure=";
error += measure;
error += L" is not valid.";
throw CError(error, __LINE__, __FILE__);
return NULL;
}