3 ms·
The funny thing is - it doesn't even show a warning compiled with -Wall.
by ajuc 13y ago
The funny thing is - it doesn't even show a warning compiled with -Wall.
- alexchamberlain 13y agoWell, the `const_cast` usage is fine, but calling that function on an actual `const` object is not; it's a lot to ask a compiler to warn on that.