small edit: removing pragma optimize offs
Signed-off-by: Gene Walters <genewalt@amazon.com>
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
#include <AzCore/Module/Environment.h>
|
||||
#include <AzCore/Console/IConsole.h>
|
||||
#include <AzCore/std/chrono/chrono.h>
|
||||
#pragma optimize("", off) //< remember to place this after the #includes so that you only optimize the code you want
|
||||
|
||||
namespace AZ::Debug
|
||||
{
|
||||
@@ -645,4 +644,3 @@ namespace AZ::Debug
|
||||
}
|
||||
}
|
||||
} // namspace AZ::Debug
|
||||
#pragma optimize("", on)
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
|
||||
#include "ProcessCommunicatorTracePrinter.h"
|
||||
|
||||
#pragma optimize("", off) //< remember to place this after the #includes so that you only optimize the code you want
|
||||
|
||||
ProcessCommunicatorTracePrinter::ProcessCommunicatorTracePrinter(AzFramework::ProcessCommunicator* communicator, const char* window) :
|
||||
m_communicator(communicator),
|
||||
@@ -86,4 +85,3 @@ void ProcessCommunicatorTracePrinter::WriteCurrentString(bool isFromStdErr)
|
||||
bufferToUse.clear();
|
||||
}
|
||||
}
|
||||
#pragma optimize("", on)
|
||||
|
||||
-2
@@ -8,7 +8,6 @@
|
||||
|
||||
|
||||
#include <AzFramework/Process/ProcessCommunicator.h>
|
||||
#pragma optimize("", off) //< remember to place this after the #includes so that you only optimize the code you want
|
||||
|
||||
namespace AzFramework
|
||||
{
|
||||
@@ -275,4 +274,3 @@ namespace AzFramework
|
||||
}
|
||||
} // namespace AzToolsFramework
|
||||
|
||||
#pragma optimize("", on)
|
||||
|
||||
@@ -1137,7 +1137,6 @@ namespace Multiplayer
|
||||
AZStd::to_lower(sv_defaultPlayerSpawnAssetLowerCase.begin(), sv_defaultPlayerSpawnAssetLowerCase.end());
|
||||
PrefabEntityId playerPrefabEntityId(AZ::Name(static_cast<AZ::CVarFixedString>(sv_defaultPlayerSpawnAssetLowerCase).c_str()));
|
||||
INetworkEntityManager::EntityList entityList = m_networkEntityManager.CreateEntitiesImmediate(playerPrefabEntityId, NetEntityRole::Authority, AZ::Transform::CreateIdentity(), Multiplayer::AutoActivate::DoNotActivate);
|
||||
AZ_TracePrintf("MultiplayerSystemComponent", "Server spawned the default player: %s", sv_defaultPlayerSpawnAssetLowerCase.c_str())
|
||||
|
||||
for (NetworkEntityHandle subEntity : entityList)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user