aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LFileInfo.cpp
diff options
context:
space:
mode:
authorjoe berner <stackyjoe@gmail.com>2018-12-18 11:21:59 -0600
committerjoe berner <stackyjoe@gmail.com>2018-12-18 11:21:59 -0600
commita25b2294f58be2cc1f53e759155d9f7c2d53efde (patch)
tree925c9bfa8d188f55b82a87f8fca1ebe882b22e21 /src-qt5/core/libLumina/LFileInfo.cpp
parentChanges the UI interface so that only the current page is rendered on screen ... (diff)
downloadlumina-a25b2294f58be2cc1f53e759155d9f7c2d53efde.tar.gz
lumina-a25b2294f58be2cc1f53e759155d9f7c2d53efde.tar.bz2
lumina-a25b2294f58be2cc1f53e759155d9f7c2d53efde.zip
Switches from keeping links in a QHash to a std::vector. This fixes some race conditions on key insertion from multiple threads.
Diffstat (limited to 'src-qt5/core/libLumina/LFileInfo.cpp')
-rw-r--r--src-qt5/core/libLumina/LFileInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/LFileInfo.cpp b/src-qt5/core/libLumina/LFileInfo.cpp
index 8ca90979..3021d74a 100644
--- a/src-qt5/core/libLumina/LFileInfo.cpp
+++ b/src-qt5/core/libLumina/LFileInfo.cpp
@@ -267,7 +267,7 @@ bool LFileInfo::canZFSclone(){
return (zfs_perms.contains("clone") || (c_uid==0) );
}
-bool LFileInfo::zfsCloneDataset(QString subdir, QString newsubdir){
+bool LFileInfo::zfsCloneDataset([[maybe_unused]] QString subdir, [[maybe_unused]] QString newsubdir){
if(!canZFSclone()){ return false; }
return false;
bgstack15