Corrected nullptr collateral damage

Resolves bug-report http://bugs.openfoam.org/view.php?id=2181
This commit is contained in:
Henry Weller
2016-08-08 15:38:53 +01:00
parent 6f098748cc
commit c5630e5cb1
6 changed files with 17 additions and 17 deletions

View File

@ -88,7 +88,7 @@ class functionObjectList
//- Remove and return the function object pointer by name,
// and returns the old index via the parameter.
// Returns a nullptr pointer (and index -1) if it didn't exist
// Returns a nullptr (and index -1) if it didn't exist
functionObject* remove(const word&, label& oldIndex);
//- Search the specified directory for functionObject