Commit d4314bda authored by Andrew Heather's avatar Andrew Heather
Browse files

COMP: Resolved compiler warning

parent 14fba293
......@@ -83,13 +83,8 @@ Foam::token Foam::functionEntries::ifeqEntry::expand
{
const word varName(keyword.substr(1, keyword.size()-1));
// lookup the variable name in the given dictionary
const entry* ePtr = dict.lookupScopedEntryPtr
(
varName,
true,
true
);
// Lookup the variable name in the given dictionary
const entry* ePtr = dict.findScoped(varName, keyType::REGEX_RECURSIVE);
if (ePtr)
{
return token(ePtr->stream());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment