diff --git a/src/opentimelineio/color.cpp b/src/opentimelineio/color.cpp index 16633c4df..7dcd6113e 100644 --- a/src/opentimelineio/color.cpp +++ b/src/opentimelineio/color.cpp @@ -14,17 +14,17 @@ Color::Color( double const b, double const a, std::string const& name) - : _name(name), - _r(r), + : _r(r), _g(g), _b(b), - _a(a) {} + _a(a), + _name(name) {} -Color::Color(Color const& other) : _name(other.name()), - _r(other.r()), +Color::Color(Color const& other) : _r(other.r()), _g(other.g()), _b(other.b()), - _a(other.a()) {} + _a(other.a()), + _name(other.name()) {} const Color Color::pink(1.0, 0.0, 1.0, 1.0, "Pink"); const Color Color::red(1.0, 0.0, 0.0, 1.0, "Red"); diff --git a/src/opentimelineio/item.cpp b/src/opentimelineio/item.cpp index ea22858f1..8784b1936 100644 --- a/src/opentimelineio/item.cpp +++ b/src/opentimelineio/item.cpp @@ -22,8 +22,8 @@ Item::Item( , _source_range(source_range) , _effects(effects.begin(), effects.end()) , _markers(markers.begin(), markers.end()) - , _enabled(enabled) , _color(color) + , _enabled(enabled) {} Item::~Item()