summaryrefslogtreecommitdiff
path: root/sysutils/fusefs-encfs/files/patch-encfs_NullCipher.cpp
blob: 08e4db20abe8dc62551a4f896bbf268fb2cedf31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- encfs/NullCipher.cpp.orig	2022-05-14 16:04:54 UTC
+++ encfs/NullCipher.cpp
@@ -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());