run_compile_commands: Avoid shadow in std::map<>::at workaround
The map has a member called "empty" so use a different name for the local variable in our approximate at() method.
This commit is contained in:
parent
169bb05f90
commit
7c5be5114c
|
@ -9,8 +9,8 @@ public:
|
||||||
{
|
{
|
||||||
const_iterator i = this->find(k);
|
const_iterator i = this->find(k);
|
||||||
if(i != this->end()) { return i->second; }
|
if(i != this->end()) { return i->second; }
|
||||||
static cmStdString empty;
|
static cmStdString emptyString;
|
||||||
return empty;
|
return emptyString;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
typedef std::vector<CommandType> TranslationUnitsType;
|
typedef std::vector<CommandType> TranslationUnitsType;
|
||||||
|
|
Loading…
Reference in New Issue