Quantcast
Channel: Go4Expert
Viewing all articles
Browse latest Browse all 1993

fpermissive error

$
0
0
I am coding a project and when I compile it I get the following error.
src/bitmatrix.cpp: In function ‘Bitmatrix* Inverse(const Bitmatrix*)’:
src/bitmatrix.cpp:353:23: error: passing ‘const Bitmatrix’ as ‘this’ argument discards qualifiers [-fpermissive]
m->Swap_Rows(r, c);

I have tried a few things to fix this but have been unsuccessful, if you all need the portion of code this pertains to I can post that up as well.

Viewing all articles
Browse latest Browse all 1993