COMP: avoid Istream/List operator() ambiguity (gcc-4.8.5)

- introduced UList<bool>::operator()(label) as part of bf0b3d8872
  but with gcc-4.8.5 this participates in operator resolution even
  for non-bool lists!!
  Partial revert until this predicate handling is really required.
This commit is contained in:
Mark Olesen
2022-05-11 08:52:31 +02:00
parent dd560a6e3c
commit 0ed0856593
3 changed files with 9 additions and 16 deletions

View File

@ -429,7 +429,7 @@ int main(int argc, char *argv[])
// Suboption: "insideBox"
if (subsetDict.found("insideBox"))
{
treeBoundBox bb(subsetDict.lookup("insideBox")());
treeBoundBox bb(subsetDict.lookup("insideBox"));
Info<< "Subset edges inside box " << bb << endl;
features().subsetBox(edgeStat, bb);
@ -447,7 +447,7 @@ int main(int argc, char *argv[])
// Suboption: "outsideBox"
else if (subsetDict.found("outsideBox"))
{
treeBoundBox bb(subsetDict.lookup("outsideBox")());
treeBoundBox bb(subsetDict.lookup("outsideBox"));
Info<< "Exclude edges outside box " << bb << endl;
features().excludeBox(edgeStat, bb);
@ -490,7 +490,7 @@ int main(int argc, char *argv[])
// Suboption: "plane"
if (subsetDict.found("plane"))
{
plane cutPlane(subsetDict.lookup("plane")());
plane cutPlane(subsetDict.lookup("plane"));
Info<< "Only include feature edges that intersect the plane"
<< " with normal " << cutPlane.normal()