The map has a member called "empty" so use a different name for the local variable in our approximate at() method.
@@ -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;