mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Corrected nullptr collateral damage
Resolves bug-report http://bugs.openfoam.org/view.php?id=2181
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user