From edf85dda783c610c43d466704618944e6cbbb9af Mon Sep 17 00:00:00 2001 From: Daniel Jour Date: Mon, 25 Nov 2019 10:23:45 +0100 Subject: [PATCH] Keyframe: use = default to specify default constructor --- include/KeyFrame.h | 2 +- src/KeyFrame.cpp | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/include/KeyFrame.h b/include/KeyFrame.h index aafd6c4b..4466dcaa 100644 --- a/include/KeyFrame.h +++ b/include/KeyFrame.h @@ -68,7 +68,7 @@ namespace openshot { public: /// Default constructor for the Keyframe class - Keyframe(); + Keyframe() = default; /// Constructor which sets the default point & coordinate at X=1 Keyframe(double value); diff --git a/src/KeyFrame.cpp b/src/KeyFrame.cpp index 2cd0b35a..ec9a64ba 100644 --- a/src/KeyFrame.cpp +++ b/src/KeyFrame.cpp @@ -42,10 +42,6 @@ Keyframe::Keyframe(double value) { AddPoint(Point(value)); } -// Keyframe constructor -Keyframe::Keyframe() { -} - // Add a new point on the key-frame. Each point has a primary coordinate, // a left handle, and a right handle. void Keyframe::AddPoint(Point p) {