Open The-Compiler opened 5 years ago
I'm using Archlinux, with Cevelop 1.12.1-201907081203 and Constificator 1.12.2.20190710144.
With this source code:
static void operator delete(void * const ptr) noexcept { }
I'm getting:
Selecting "Add const-qualification" does nothing - it hides the error, but as soon as the line is visited again, it reappears.
Changing the type to void const * const ptr makes the error go away, but that makes no sense (and doesn't compile).
void const * const ptr
I'm using Archlinux, with Cevelop 1.12.1-201907081203 and Constificator 1.12.2.20190710144.
With this source code:
I'm getting:
Selecting "Add const-qualification" does nothing - it hides the error, but as soon as the line is visited again, it reappears.
Changing the type to
void const * const ptr
makes the error go away, but that makes no sense (and doesn't compile).