diff --git a/polly/include/polly/CodeGen/BlockGenerators.h b/polly/include/polly/CodeGen/BlockGenerators.h index f382d763f75b..c2aa42fd8922 100644 --- a/polly/include/polly/CodeGen/BlockGenerators.h +++ b/polly/include/polly/CodeGen/BlockGenerators.h @@ -161,7 +161,7 @@ public: void finalizeSCoP(Scop &S); /// @brief An empty destructor - virtual ~BlockGenerator() = default; + virtual ~BlockGenerator(){}; BlockGenerator(const BlockGenerator &) = default; @@ -687,7 +687,7 @@ public: /// @param BlockGen A generator for basic blocks. RegionGenerator(BlockGenerator &BlockGen) : BlockGenerator(BlockGen) {} - virtual ~RegionGenerator() = default; + virtual ~RegionGenerator(){}; /// @brief Copy the region statement @p Stmt. ///