compile+discards qualifiers
hi friends
im going to implement a code based on existing code in openFoam, but i faced following error error: passing ‘const Foam::volScalarField’ as ‘this’ argument of ‘void Foam::GeometricField<Type, PatchField, GeoMesh>::operator=(const Foam::GeometricField<Type, PatchField, GeoMesh>&) [with Type = double, PatchField = Foam::fvPatchField, GeoMesh = Foam::volMesh]’ discards qualifiers this error is for this pieces of code, mvCoeff_=mvCoeff; both of variables are volScalarField,whats wrong ? |
I got the same error. And I have found my answer on this website.
http://stackoverflow.com/questions/5...rds-qualifiers hope it'll help someone. |
All times are GMT -4. The time now is 07:27. |