fix linux build error on unique_ptr deletion
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
#include <ScriptCanvas/Components/EditorGraph.h>
|
||||
|
||||
#include <Editor/View/Windows/Tools/UpgradeTool/ui_View.h>
|
||||
// #include <Editor/View/Windows/Tools/UpgradeTool/moc_View.cpp>
|
||||
|
||||
namespace ScriptCanvasEditor
|
||||
{
|
||||
@@ -63,6 +62,11 @@ namespace ScriptCanvasEditor
|
||||
ModelNotificationsBus::Handler::BusConnect();
|
||||
}
|
||||
|
||||
Controller::~Controller()
|
||||
{
|
||||
delete m_view;
|
||||
}
|
||||
|
||||
void Controller::AddLogEntries()
|
||||
{
|
||||
const AZStd::vector<AZStd::string>* logs = nullptr;
|
||||
|
||||
@@ -52,6 +52,7 @@ namespace ScriptCanvasEditor
|
||||
AZ_CLASS_ALLOCATOR(Controller, AZ::SystemAllocator, 0);
|
||||
|
||||
explicit Controller(QWidget* parent = nullptr);
|
||||
~Controller();
|
||||
|
||||
private:
|
||||
static constexpr int ColumnAsset = 0;
|
||||
@@ -59,7 +60,7 @@ namespace ScriptCanvasEditor
|
||||
static constexpr int ColumnBrowse = 2;
|
||||
static constexpr int ColumnStatus = 3;
|
||||
|
||||
AZStd::unique_ptr<Ui::View> m_view;
|
||||
Ui::View* m_view = nullptr;
|
||||
int m_handledAssetCount = 0;
|
||||
|
||||
void AddLogEntries();
|
||||
|
||||
Reference in New Issue
Block a user