Re: [PATCH] Mark the copy/move constructor/operator= of auto_bitmap as delete

2024-09-14 Thread Richard Biener
On Sat, Sep 14, 2024 at 9:24 AM Andrew Pinski wrote: > > Since we are written in C++11, these should be marked as delete rather > than just private. OK > Bootstrapped and tested on x86_64-linux-gnu. > > gcc/ChangeLog: > > * bitmap.h (class auto_bitmap): Mark copy/move constructor/operato

[PATCH] Mark the copy/move constructor/operator= of auto_bitmap as delete

2024-09-14 Thread Andrew Pinski
Since we are written in C++11, these should be marked as delete rather than just private. Bootstrapped and tested on x86_64-linux-gnu. gcc/ChangeLog: * bitmap.h (class auto_bitmap): Mark copy/move constructor/operator= as deleted. Signed-off-by: Andrew Pinski --- gcc/bitmap.h