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:
@ -580,6 +580,11 @@ void CMeterHistogram::BindMeasure(const std::list<CMeasure*>& measures)
|
||||
}
|
||||
}
|
||||
|
||||
throw CError(std::wstring(L"The meter [") + m_Name + L"] cannot be bound with [" + m_SecondaryMeasureName + L"]!", __LINE__, __FILE__);
|
||||
std::wstring error = L"The meter [";
|
||||
error += m_Name;
|
||||
error += L"] cannot be bound with [";
|
||||
error += m_SecondaryMeasureName;
|
||||
error += L"]!";
|
||||
throw CError(error, __LINE__, __FILE__);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user