Loading
rocksdb: fix build of versions < 8
There is a code that triggers "unused-but-set-variable" warning (in versions 7.x and 6.x) which is promoted to error. There is another code that triggers "deprecated-copy" warning (in versions 6.x). This change prevents this promotion, so older versions of rocksdb build successfully again.