Qualify fill_n properly.

Relying on ADL isn't a good idea as it's not always well implemented.
This commit is contained in:
Benjamin Goose 2011-10-20 09:02:20 +02:00
parent 463b105d98
commit 3f25bd9530
1 changed files with 1 additions and 1 deletions

View File

@ -686,7 +686,7 @@ SymbolDatabase::SymbolDatabase(const Tokenizer *tokenizer, const Settings *setti
// create variable symbol table
_variableList.resize(_tokenizer->varIdCount() + 1);
fill_n(_variableList.begin(), _variableList.size(), (const Variable*)NULL);
std::fill_n(_variableList.begin(), _variableList.size(), (const Variable*)NULL);
// check all scopes for variables
for (it = scopeList.begin(); it != scopeList.end(); ++it) {