Windows and Linux compiling
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
+2
-2
@@ -134,7 +134,7 @@ namespace AzToolsFramework
|
||||
{
|
||||
const auto& subFilters = compFilter->GetSubFilters();
|
||||
const auto& compFilterIter = AZStd::find_if(subFilters.cbegin(), subFilters.cend(),
|
||||
[subFilters](FilterConstType filter) -> bool
|
||||
[](FilterConstType filter) -> bool
|
||||
{
|
||||
const auto assetTypeFilter = qobject_cast<QSharedPointer<const CompositeFilter>>(filter);
|
||||
return !assetTypeFilter.isNull();
|
||||
@@ -146,7 +146,7 @@ namespace AzToolsFramework
|
||||
}
|
||||
|
||||
const auto& compositeStringFilterIter = AZStd::find_if(subFilters.cbegin(), subFilters.cend(),
|
||||
[subFilters](FilterConstType filter) -> bool
|
||||
[](FilterConstType filter) -> bool
|
||||
{
|
||||
// The real StringFilter is really a CompositeFilter with just one StringFilter in its subfilter list
|
||||
// To know if it is actually a StringFilter we have to get that subfilter and check if it is a Stringfilter.
|
||||
|
||||
@@ -4094,7 +4094,7 @@ namespace AzToolsFramework
|
||||
|
||||
using SCCommandBus = AzToolsFramework::SourceControlCommandBus;
|
||||
SCCommandBus::Broadcast(&SCCommandBus::Events::RequestEdit, fullFilePath.c_str(), true,
|
||||
[sliceEntity, fullFilePath, tmpFileName, tmpFilesaved](bool /*success*/, const AzToolsFramework::SourceControlFileInfo& info)
|
||||
[fullFilePath, tmpFileName, tmpFilesaved](bool /*success*/, const AzToolsFramework::SourceControlFileInfo& info)
|
||||
{
|
||||
if (!info.IsReadOnly())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user