Merge pull request #5 from YarikTH/patch-1

Update smart_pointers_with_polymorphism.cpp
This commit is contained in:
Mindaugas Vinkelis
2018-08-27 07:24:22 +03:00
committed by GitHub

View File

@@ -27,7 +27,7 @@ struct Color {
float r{}, g{}, b{};
bool operator == (const Color& o) const {
return std::tie(r, g, b) ==
std::tie(o.r, o.g, b);
std::tie(o.r, o.g, o.b);
}
};