From a25b2294f58be2cc1f53e759155d9f7c2d53efde Mon Sep 17 00:00:00 2001 From: joe berner Date: Tue, 18 Dec 2018 11:21:59 -0600 Subject: Switches from keeping links in a QHash to a std::vector. This fixes some race conditions on key insertion from multiple threads. --- src-qt5/core/libLumina/LFileInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-qt5/core/libLumina') 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; -- cgit