Legacy cleanup, part 2 (#3659)

* Legacy cleanup, part 2

There are still things that can be removed, those will be likely done in part three:
`The Return of the Cleanup` :)

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Fix windows build

Somehow there were some unfixed errors from enabled warnings?
I'm unsure if I've pulled repo in unstable state, or those were somehow
missed.

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
This commit is contained in:
Artur K
2021-08-30 22:40:02 +02:00
committed by GitHub
parent fa0f2a1007
commit 96a5f06ca3
116 changed files with 189 additions and 18706 deletions
+4 -2
View File
@@ -10,7 +10,9 @@
#include <AzCore/PlatformDef.h> // for AZ_COMMAND_LINE_LEN
#include <AzCore/Debug/Trace.h>
#include <AzCore/IO/SystemFile.h>
#include <AzCore/Memory/Memory.h>
#include <CryCommon/platform.h>
#include <CryCommon/LegacyAllocator.h>
struct IOutputPrintSink;
@@ -34,7 +36,7 @@ namespace O3DELauncher
#define COMMAND_LINE_ARG_COUNT_LIMIT (AZ_COMMAND_LINE_LEN+1) / 2 // Assume that the limit to how many arguments we can maintain is the max buffer size divided by 2
// to account for an argument and a spec in between each argument (with the worse case scenario being
struct PlatformMainInfo
{
typedef bool (*ResourceLimitUpdater)();
@@ -69,7 +71,7 @@ namespace O3DELauncher
void* m_window = nullptr; //!< maps to \ref SSystemInitParams::hWnd
void* m_instance = nullptr; //!< maps to \ref SSystemInitParams::hInstance
IOutputPrintSink* m_printSink = nullptr; //!< maps to \ref SSystemInitParams::pPrintSync
IOutputPrintSink* m_printSink = nullptr; //!< maps to \ref SSystemInitParams::pPrintSync
};
enum class ReturnCode : unsigned char