summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polly/include/polly/CodeGen/BlockGenerators.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/polly/include/polly/CodeGen/BlockGenerators.h b/polly/include/polly/CodeGen/BlockGenerators.h
index ee961e731d8..9d8e4393fc9 100644
--- a/polly/include/polly/CodeGen/BlockGenerators.h
+++ b/polly/include/polly/CodeGen/BlockGenerators.h
@@ -161,7 +161,9 @@ public:
void finalizeSCoP(Scop &S);
/// @brief An empty destructor
- virtual ~BlockGenerator(){};
+ virtual ~BlockGenerator() = default;
+
+ BlockGenerator(const BlockGenerator &) = default;
protected:
PollyIRBuilder &Builder;
OpenPOWER on IntegriCloud