Merge pull request #1940 from tsuoranta/fix-gcc9

Fix for GCC 9 / Werror=deprecated-copy
This commit is contained in:
John Kessenich 2020-01-27 01:02:08 -07:00 committed by GitHub
commit d5f2f7b93d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 8 deletions

View file

@ -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);