diff --git a/Gems/Metastream/Code/Source/MetastreamGem.cpp b/Gems/Metastream/Code/Source/MetastreamGem.cpp index d1792c439f..2bb213662c 100644 --- a/Gems/Metastream/Code/Source/MetastreamGem.cpp +++ b/Gems/Metastream/Code/Source/MetastreamGem.cpp @@ -323,7 +323,7 @@ namespace Metastream { // Initialise and start the HTTP server m_server = std::unique_ptr(new CivetHttpServer(m_cache.get())); - string serverOptions = m_serverOptionsCVar->GetString(); + AZStd::string serverOptions = m_serverOptionsCVar->GetString(); CryLogAlways("Initializing Metastream: Options=\"%s\"", serverOptions.c_str()); bool result = m_server->Start(serverOptions.c_str()); diff --git a/Gems/Metastream/Code/Tests/MetastreamTest.cpp b/Gems/Metastream/Code/Tests/MetastreamTest.cpp index 4f1d37391a..1b25fb5327 100644 --- a/Gems/Metastream/Code/Tests/MetastreamTest.cpp +++ b/Gems/Metastream/Code/Tests/MetastreamTest.cpp @@ -60,7 +60,7 @@ public: } - const string m_serverOptionsString = "document_root=Gems/Metastream/Files;listening_ports=8082"; + const char* m_serverOptionsString = "document_root=Gems/Metastream/Files;listening_ports=8082"; protected: void SetUp() override