mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 04:29:52 +00:00
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);
|
||||
if(i != this->end()) { return i->second; }
|
||||
static cmStdString empty;
|
||||
return empty;
|
||||
static cmStdString emptyString;
|
||||
return emptyString;
|
||||
}
|
||||
};
|
||||
typedef std::vector<CommandType> TranslationUnitsType;
|
||||
|
Loading…
Reference in New Issue
Block a user