-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(root/encfs): Fix build with current toolchain
See vgough/encfs#641
- Loading branch information
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
From 406b63bfe234864710d1d23329bf41d48001fbfa Mon Sep 17 00:00:00 2001 | ||
From: Dmitri Goutnik <[email protected]> | ||
Date: Sat, 14 May 2022 14:09:40 -0500 | ||
Subject: [PATCH] Unbreak build with llvm13. | ||
|
||
Fixes #641 | ||
--- | ||
encfs/NullCipher.cpp | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/encfs/NullCipher.cpp b/encfs/NullCipher.cpp | ||
index 50dadffd..5e1a4729 100644 | ||
--- a/encfs/NullCipher.cpp | ||
+++ b/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()); | ||
|