mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
BUG: comparison to static end() for hashtable lookup.
- just use the iterator method found() as an alternative and convenient way to avoid the issue with less typing.
This commit is contained in:
@ -183,7 +183,7 @@ Foam::string& Foam::stringOps::inplaceExpand
|
||||
HashTable<string, word, string::hash>::const_iterator fnd =
|
||||
mapping.find(varName);
|
||||
|
||||
if (fnd != HashTable<string, word, string::hash>::end())
|
||||
if (fnd.found())
|
||||
{
|
||||
if (altPos != string::npos && altType == '+')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user