operator= return ref

This commit is contained in:
Hieu Hoang 2017-02-10 13:33:44 +00:00
parent ff7bb00756
commit 302b685df9

View File

@ -33,7 +33,7 @@ public:
{}
template<typename T>
Parent operator=(const T &other) {
Parent& operator=(const T &other) {
return Parent::operator=(other);
}