Fixes for gcc 9 / -Werror=deprecated-copy

Also enable -Werror-deprecated-copy for GCC version 9 and later.
This commit is contained in:
Timo Suoranta
2019-10-18 17:28:53 +03:00
parent 834ee546f9
commit f0a85fc744
4 changed files with 11 additions and 8 deletions

View File

@@ -512,7 +512,7 @@ public:
Block &head, &body, &merge, &continue_target;
private:
LoopBlocks();
LoopBlocks& operator=(const LoopBlocks&);
LoopBlocks& operator=(const LoopBlocks&) = delete;
};
// Start a new loop and prepare the builder to generate code for it. Until