functionObjects::fieldExpression: fieldName is now const as it cannot be changed after construction

This commit is contained in:
Henry Weller
2019-11-29 16:54:54 +00:00
parent 8a6800abfe
commit da50aba2c4
5 changed files with 6 additions and 12 deletions

View File

@ -60,7 +60,7 @@ protected:
// Protected member data
//- Name of field to process
word fieldName_;
const word fieldName_;
//- Name of result field
word resultName_;