Преглед изворни кода

Fixes VS2022 error C5233: explicit lambda capture 'isSlash' is not used (#6745)

Signed-off-by: Benjamin Jillich <[email protected]>
Benjamin Jillich пре 3 година
родитељ
комит
afc531d4c3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Code/Tools/AssetProcessor/native/FileWatcher/FileWatcher.cpp

+ 1 - 1
Code/Tools/AssetProcessor/native/FileWatcher/FileWatcher.cpp

@@ -25,7 +25,7 @@ static bool IsSubfolder(const QString& folderA, const QString& folderB)
     using AZStd::begin;
     using AZStd::end;
 
-    constexpr auto isSlash = [](const QChar c) constexpr
+    auto isSlash = [](const QChar c) constexpr
     {
         return c == AZ::IO::WindowsPathSeparator || c == AZ::IO::PosixPathSeparator;
     };