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:
Brad King 2011-05-17 09:25:44 -04:00
parent 169bb05f90
commit 7c5be5114c

View File

@ -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;