summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cfg/Relooper.h2
-rw-r--r--src/pass.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cfg/Relooper.h b/src/cfg/Relooper.h
index b3a2b65f6..162fd3149 100644
--- a/src/cfg/Relooper.h
+++ b/src/cfg/Relooper.h
@@ -308,7 +308,7 @@ struct Shape {
ShapeType Type;
Shape(ShapeType TypeInit) : Id(-1), Next(NULL), Type(TypeInit) {}
- virtual ~Shape() {}
+ virtual ~Shape() = default;
virtual wasm::Expression* Render(RelooperBuilder& Builder, bool InLoop) = 0;
diff --git a/src/pass.h b/src/pass.h
index 326c3d5b9..8064edc32 100644
--- a/src/pass.h
+++ b/src/pass.h
@@ -201,7 +201,7 @@ private:
//
class Pass {
public:
- virtual ~Pass() {};
+ virtual ~Pass() = default;
// Override this to perform preparation work before the pass runs.
// This will be called before the pass is run on a module.