functionObjects::fieldExpression: fieldName is now const as it cannot be changed after construction
This commit is contained in:
@ -60,7 +60,7 @@ protected:
|
||||
// Protected member data
|
||||
|
||||
//- Name of field to process
|
||||
word fieldName_;
|
||||
const word fieldName_;
|
||||
|
||||
//- Name of result field
|
||||
word resultName_;
|
||||
|
||||
Reference in New Issue
Block a user