ENH: add range check on findIndices (#1182)

- add compile-time detection of deprecated findIndex() function

- replace occurrences of findIndex() with the equivalent container
  method
This commit is contained in:
Mark Olesen
2019-01-25 10:47:34 +01:00
parent ad7f29466a
commit 5ec44cd51f
9 changed files with 24 additions and 27 deletions

View File

@ -70,7 +70,7 @@ int main(int argc, char *argv[])
};
Pout<< list2 << endl;
Info<< findIndex(list2, vector(3, 4, 5)) << endl;
Info<< list2.find(vector(3, 4, 5)) << endl;
return 0;
}