mirror of
https://github.com/marian-nmt/marian.git
synced 2024-11-30 21:39:52 +03:00
operator= return ref
This commit is contained in:
parent
ff7bb00756
commit
302b685df9
@ -33,7 +33,7 @@ public:
|
||||
{}
|
||||
|
||||
template<typename T>
|
||||
Parent operator=(const T &other) {
|
||||
Parent& operator=(const T &other) {
|
||||
return Parent::operator=(other);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user