mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: more constness on const char* values
This commit is contained in:
@ -76,7 +76,8 @@ makeRemovablePatchTypeField
|
||||
);
|
||||
|
||||
|
||||
const char* ${typeName}FixedValueFvPatchScalarField::SHA1sum = "${SHA1sum}";
|
||||
const char* const ${typeName}FixedValueFvPatchScalarField::SHA1sum =
|
||||
"${SHA1sum}";
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
@ -56,7 +56,7 @@ class ${typeName}FixedValueFvPatchScalarField
|
||||
public:
|
||||
|
||||
//- Information about the SHA1 of the code itself
|
||||
static const char* SHA1sum;
|
||||
static const char* const SHA1sum;
|
||||
|
||||
//- Runtime type information
|
||||
TypeName("${typeName}");
|
||||
|
||||
Reference in New Issue
Block a user