Fixes for gcc 9 / -Werror=deprecated-copy
Also enable -Werror-deprecated-copy for GCC version 9 and later.
This commit is contained in:
parent
834ee546f9
commit
f0a85fc744
4 changed files with 11 additions and 8 deletions
|
|
@ -921,7 +921,7 @@ public:
|
|||
else
|
||||
unionArray = new TConstUnionVector(size);
|
||||
}
|
||||
TConstUnionArray(const TConstUnionArray& a) : unionArray(a.unionArray) { }
|
||||
TConstUnionArray(const TConstUnionArray& a) = default;
|
||||
TConstUnionArray(const TConstUnionArray& a, int start, int size)
|
||||
{
|
||||
unionArray = new TConstUnionVector(size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue