KeyFrame.h: Avoid shadowing SWIG templates

This commit is contained in:
FeRD (Frank Dana)
2021-01-29 01:08:50 -05:00
parent f1102a21fc
commit 00d458210e
3 changed files with 16 additions and 15 deletions

View File

@@ -126,10 +126,10 @@ Keyframe::Keyframe(double value) {
}
// Constructor which takes a vector of Points
Keyframe::Keyframe(const std::vector<Point>& points) : Points(points) {};
Keyframe::Keyframe(const std::vector<openshot::Point>& points) : Points(points) {};
// Constructor which takes a vector of std::pair tuples (and adds them all)
Keyframe::Keyframe(const std::vector<Coordinate>& coordinates) {
Keyframe::Keyframe(const std::vector<openshot::Coordinate>& coordinates) {
for (const auto& co : coordinates) {
AddPoint(Point(co));
}