Browse Source

Merge pull request #15715 from richardkchapman/osx-build-error-1

HPCC-27107 OSX build error in thmfilemanager_lcr.cpp

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merged-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 3 years ago
parent
commit
a9ea8e0fe1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      thorlcr/mfilemanager/thmfilemanager.cpp

+ 1 - 1
thorlcr/mfilemanager/thmfilemanager.cpp

@@ -318,7 +318,7 @@ public:
         {
         {
             if (lfn.isRemote() || (!lfn.isExternal() && job.getOptBool("dfsesp-localfiles")))
             if (lfn.isRemote() || (!lfn.isExternal() && job.getOptBool("dfsesp-localfiles")))
             {
             {
-                auto func = [&job, &lfn, write, privilegedUser](unsigned timeout)
+                auto func = [&job, &lfn](unsigned timeout)
                 {
                 {
                     return wsdfs::lookupLegacyDFSFile(lfn.get(), timeout, wsdfs::keepAliveExpiryFrequency, job.queryUserDescriptor());
                     return wsdfs::lookupLegacyDFSFile(lfn.get(), timeout, wsdfs::keepAliveExpiryFrequency, job.queryUserDescriptor());
                 };
                 };