]> git.ipfire.org Git - thirdparty/zstd.git/commit
[contrib][pzstd] Fix build issue with gcc-5 2889/head
authorNick Terrell <terrelln@fb.com>
Wed, 1 Dec 2021 02:26:11 +0000 (18:26 -0800)
committerNick Terrell <terrelln@fb.com>
Wed, 1 Dec 2021 02:29:02 +0000 (18:29 -0800)
commita7a469e09514fd71e0a1b1fb61f78dc158ca91d2
tree230992bfbd3562b9d734d46341e04a878d06c753
parent7847c2fd687be41b5b5c2c402764c631320ad6d0
[contrib][pzstd] Fix build issue with gcc-5

gcc-5 didn't like the l-value overload for defaulted operator=. There is
no reason it needs to be l-value overloaded, so just remove it.

I'm not sure why the build broke for @mckaygerhard in Issue #2811, since
this code hasn't changed since it was added. But, there is no harm in
fixing it.

Fixes issue #2811.
contrib/pzstd/utils/Buffer.h
contrib/pzstd/utils/Range.h