Unbreak build with llvm13.

Fixes #641
This commit is contained in:
Dmitri Goutnik 2022-05-14 14:09:40 -05:00
parent c444f9b917
commit 406b63bfe2

View File

@ -76,7 +76,7 @@ class NullDestructor {
NullDestructor &operator=(const NullDestructor &) = delete; // copy assignment
NullDestructor& operator=(NullDestructor&& other) = delete; // move assignment
void operator()(NullKey *&) {}
void operator()(NullKey *) {}
};
std::shared_ptr<AbstractCipherKey> gNullKey(new NullKey(), NullDestructor());