Windows and Linux compiling
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -208,7 +208,7 @@ namespace AzQtComponents
|
||||
|
||||
QString PaletteCardCollection::uniquePaletteName(QSharedPointer<PaletteCard> card, const QString& name) const
|
||||
{
|
||||
const auto paletteNameExists = [this, card](const QString& name)
|
||||
const auto paletteNameExists = [this](const QString& name)
|
||||
{
|
||||
auto it = std::find_if(m_paletteCards.begin(), m_paletteCards.end(),
|
||||
[&name](QSharedPointer<const PaletteCard> card)
|
||||
|
||||
+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())
|
||||
{
|
||||
|
||||
@@ -33,7 +33,8 @@ namespace UnitTest
|
||||
CompareInstances(*firstInstance, *secondInstance, true, false);
|
||||
}
|
||||
|
||||
TEST_F(PrefabInstantiateTest, PrefabInstantiate_TripleNestingTemplate_InstantiateSucceeds)
|
||||
// TODO: Issue #3398 will re-enable
|
||||
TEST_F(PrefabInstantiateTest, DISABLED_PrefabInstantiate_TripleNestingTemplate_InstantiateSucceeds)
|
||||
{
|
||||
AZ::Entity* newEntity = CreateEntity("New Entity");
|
||||
AzToolsFramework::EditorEntityContextRequestBus::Broadcast(
|
||||
|
||||
Reference in New Issue
Block a user