mirror of
https://github.com/vgough/encfs.git
synced 2025-01-05 05:29:33 +01:00
Fix compilation for Clang.
This commit is contained in:
parent
10c231d172
commit
a578201571
@ -72,7 +72,7 @@ void EncFS_Context::setRoot(const shared_ptr<DirNode> &r) {
|
||||
if (r) rootCipherDir = r->rootDirectory();
|
||||
}
|
||||
|
||||
bool EncFS_Context::isMounted() const { return root; }
|
||||
bool EncFS_Context::isMounted() const { return root != NULL; }
|
||||
|
||||
int EncFS_Context::getAndResetUsageCounter() {
|
||||
Lock lock(contextMutex);
|
||||
|
@ -157,7 +157,7 @@ class RenameOp {
|
||||
|
||||
~RenameOp();
|
||||
|
||||
operator bool() const { return renameList; }
|
||||
operator bool() const { return renameList != NULL; }
|
||||
|
||||
bool apply();
|
||||
void undo();
|
||||
|
Loading…
Reference in New Issue
Block a user