fix Windows unity build
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -10,8 +10,6 @@
|
||||
|
||||
#include <QApplication>
|
||||
|
||||
using namespace AZ;
|
||||
|
||||
// Handle asserts
|
||||
class ToolsFrameworkHook
|
||||
: public AZ::Test::ITestEnvironment
|
||||
@@ -19,12 +17,12 @@ class ToolsFrameworkHook
|
||||
public:
|
||||
void SetupEnvironment() override
|
||||
{
|
||||
AllocatorInstance<SystemAllocator>::Create();
|
||||
AZ::AllocatorInstance<AZ::SystemAllocator>::Create();
|
||||
}
|
||||
|
||||
void TeardownEnvironment() override
|
||||
{
|
||||
AllocatorInstance<SystemAllocator>::Destroy();
|
||||
AZ::AllocatorInstance<AZ::SystemAllocator>::Destroy();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -5,13 +5,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
// All plugins suffer from the following warning:
|
||||
// warning C4273: 'GetIEditor' : inconsistent dll linkage
|
||||
// GetIEditor() is forward-declared using EDITOR_CORE_API, which without EDITOR_CORE set,
|
||||
// results in dllimport rather than dllexport. This define ensure it's consistently and
|
||||
// properly defined for export.
|
||||
#define EDITOR_CORE
|
||||
|
||||
#include <platform.h>
|
||||
|
||||
#include <IEditor.h>
|
||||
|
||||
Reference in New Issue
Block a user