Skip to content

Commit edf85dd

Browse files
committed
Keyframe: use = default to specify default constructor
1 parent 504fd0e commit edf85dd

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

include/KeyFrame.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ namespace openshot {
6868
public:
6969

7070
/// Default constructor for the Keyframe class
71-
Keyframe();
71+
Keyframe() = default;
7272

7373
/// Constructor which sets the default point & coordinate at X=1
7474
Keyframe(double value);

src/KeyFrame.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@ Keyframe::Keyframe(double value) {
4242
AddPoint(Point(value));
4343
}
4444

45-
// Keyframe constructor
46-
Keyframe::Keyframe() {
47-
}
48-
4945
// Add a new point on the key-frame. Each point has a primary coordinate,
5046
// a left handle, and a right handle.
5147
void Keyframe::AddPoint(Point p) {

0 commit comments

Comments
 (0)