STYLE: single-string findStrings deprecated in favour of stringOps::match

- reduces ambiguity between matching a list of strings and a single string.
This commit is contained in:
Mark Olesen
2017-11-13 10:37:38 +01:00
parent 5a6b59d8b0
commit 14d4484fae
8 changed files with 25 additions and 23 deletions

View File

@ -154,7 +154,7 @@ Note
#include "faceZoneMesh.H"
#include "Cloud.H"
#include "passiveParticle.H"
#include "stringListOps.H"
#include "stringOps.H"
#include "meshSubsetHelper.H"
#include "readFields.H"
@ -1172,7 +1172,7 @@ int main(int argc, char *argv[])
{
const polyPatch& pp = patches[patchi];
if (findStrings(excludePatches, pp.name()))
if (stringOps::match(excludePatches, pp.name()))
{
// Skip excluded patch
continue;