Removes definitions.cpp from Gems/GraphCanvas
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -47,7 +47,7 @@ namespace
|
||||
const QRegularExpression invalidStart(R"_(^\s*>\s*)_");
|
||||
const QRegularExpression invalidEnd(R"_(\s*>\s*$)_");
|
||||
const QRegularExpression splitNesting(R"_(\s*>\s*)_");
|
||||
const QRegularExpression selector(R"_(^(?:(?:(\w+)?(\.\w+)?)|(#\w+)?)(:\w+)?$)_");
|
||||
const QRegularExpression s_selectorRegex(R"_(^(?:(?:(\w+)?(\.\w+)?)|(#\w+)?)(:\w+)?$)_");
|
||||
|
||||
AZStd::string QtToAz(const QString& source)
|
||||
{
|
||||
@@ -1013,7 +1013,7 @@ namespace GraphCanvas
|
||||
nestedSelectors.reserve(parts.size());
|
||||
for (const QString& part : parts)
|
||||
{
|
||||
auto matches = selector.match(part);
|
||||
auto matches = s_selectorRegex.match(part);
|
||||
if (!matches.hasMatch())
|
||||
{
|
||||
qWarning() << "Invalid selector:" << part << "in" << candidate;
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include <AzCore/Serialization/SerializeContext.h>
|
||||
#include <GraphCanvas/Styling/definitions.h>
|
||||
|
||||
int LinkerWarningWorkaround()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@@ -76,7 +76,6 @@ set(FILES
|
||||
StaticLib/GraphCanvas/Editor/EditorTypes.h
|
||||
StaticLib/GraphCanvas/Editor/GraphCanvasProfiler.h
|
||||
StaticLib/GraphCanvas/Editor/GraphModelBus.h
|
||||
StaticLib/GraphCanvas/Styling/definitions.cpp
|
||||
StaticLib/GraphCanvas/Styling/definitions.h
|
||||
StaticLib/GraphCanvas/Styling/PseudoElement.cpp
|
||||
StaticLib/GraphCanvas/Styling/PseudoElement.h
|
||||
|
||||
Reference in New Issue
Block a user