Add missing = operator
implicit assignment operator is depricated, these classes were missing explicit definitions of this operator. It is causing warnings, specifically -Werror=deprecated-copypull/4632/head
parent
c3a89fd2d0
commit
3890b5dff5
|
@ -374,6 +374,8 @@ struct CustomExtension {
|
|||
mValues(other.mValues) {
|
||||
// empty
|
||||
}
|
||||
|
||||
CustomExtension& operator=(const CustomExtension&) = default;
|
||||
};
|
||||
|
||||
//! Base class for all glTF top-level objects
|
||||
|
|
|
@ -86,6 +86,13 @@ class Int128
|
|||
|
||||
Int128(const Int128 &val): hi(val.hi), lo(val.lo){}
|
||||
|
||||
Int128 operator = (const Int128 &val)
|
||||
{
|
||||
lo = val.lo;
|
||||
hi = val.hi;
|
||||
return val;
|
||||
}
|
||||
|
||||
long64 operator = (const long64 &val)
|
||||
{
|
||||
lo = val;
|
||||
|
|
Loading…
Reference in New Issue