mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Code optimization.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user