Fix -Wshadow warnings

The cdc_connector.h won't built with -Wshadow if the variable and method
names match.
This commit is contained in:
Markus Mäkelä 2018-11-23 22:58:34 +02:00
parent a042ad646b
commit cf6c48b015
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -118,14 +118,14 @@ public:
*/
ValueMap fields() const
{
ValueMap fields;
ValueMap flds;
for (size_t i = 0; i < m_keys->size(); i++)
{
fields[(*m_keys)[i]] = (*m_types)[i];
flds[(*m_keys)[i]] = (*m_types)[i];
}
return fields;
return flds;
}
private: