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

Signed-off-by: Benjamin Jillich <jillich@amazon.com>
This commit is contained in:
Benjamin Jillich
2022-01-10 10:22:02 +01:00
committed by GitHub
parent 57e4fb9b39
commit afc531d4c3
@@ -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;
};