STYLE: more constness on const char* values

This commit is contained in:
Mark Olesen
2011-03-11 09:08:45 +01:00
parent fd6695d329
commit 12d965ead9
15 changed files with 31 additions and 46 deletions

View File

@ -76,7 +76,8 @@ makeRemovablePatchTypeField
);
const char* ${typeName}FixedValueFvPatchScalarField::SHA1sum = "${SHA1sum}";
const char* const ${typeName}FixedValueFvPatchScalarField::SHA1sum =
"${SHA1sum}";
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //

View File

@ -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}");