Silence -Wdeprecated warning on clang

* definition of implicit copy constructor for 'SnappySinkAllocator'
  is deprecated because it has a user-declared destructor.
This commit is contained in:
Howard Hinnant 2017-12-18 15:09:02 -05:00 committed by Arthur O'Dwyer
parent 8774875e55
commit 41a3ade229
1 changed files with 0 additions and 1 deletions

View File

@ -2341,7 +2341,6 @@ bool SnappyScatteredWriter<Allocator>::SlowAppendFromSelf(size_t offset,
class SnappySinkAllocator {
public:
explicit SnappySinkAllocator(Sink* dest) : dest_(dest) {}
~SnappySinkAllocator() {}
char* Allocate(int size) {
Datablock block(new char[size], size);