removing files that got added by rebase
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> (+1 squashed commits) Squashed commits: [a19269426] fixing more strings Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> (+1 squashed commits) Squashed commits: [d2a049324] fixing more strings Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> (+1 squashed commits) Squashed commits: [a1ff4c101] trying to build Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#include "CmdLine.h"
|
||||
|
||||
|
||||
void CCmdLine::PushCommand(const string& sCommand, const string& sParameter)
|
||||
void CCmdLine::PushCommand(const AZStd::string& sCommand, const AZStd::string& sParameter)
|
||||
{
|
||||
if (sCommand.empty())
|
||||
{
|
||||
@@ -47,7 +47,7 @@ CCmdLine::CCmdLine(const char* commandLine)
|
||||
|
||||
char* src = (char*)commandLine;
|
||||
|
||||
string command, parameter;
|
||||
AZStd::string command, parameter;
|
||||
|
||||
for (;; )
|
||||
{
|
||||
@@ -56,12 +56,12 @@ CCmdLine::CCmdLine(const char* commandLine)
|
||||
break;
|
||||
}
|
||||
|
||||
string arg = Next(src);
|
||||
AZStd::string arg = Next(src);
|
||||
|
||||
if (m_args.empty())
|
||||
{
|
||||
// this is the filename, convert backslash to forward slash
|
||||
arg.replace('\\', '/');
|
||||
AZ::StringFunc::Replace(arg, '\\', '/');
|
||||
m_args.push_back(CCmdLineArg("filename", arg.c_str(), eCLAT_Executable));
|
||||
}
|
||||
else
|
||||
@@ -90,7 +90,7 @@ CCmdLine::CCmdLine(const char* commandLine)
|
||||
}
|
||||
else
|
||||
{
|
||||
parameter += string(" ") + arg;
|
||||
parameter += AZStd::string(" ") + arg;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -151,7 +151,7 @@ const ICmdLineArg* CCmdLine::FindArg(const ECmdLineArgType ArgType, const char*
|
||||
}
|
||||
|
||||
|
||||
string CCmdLine::Next(char*& src)
|
||||
AZStd::string CCmdLine::Next(char*& src)
|
||||
{
|
||||
char ch = 0;
|
||||
char* org = src;
|
||||
@@ -170,7 +170,7 @@ string CCmdLine::Next(char*& src)
|
||||
;
|
||||
}
|
||||
|
||||
return string(org, src - 1);
|
||||
return AZStd::string(org, src - 1);
|
||||
|
||||
case '[':
|
||||
org = src;
|
||||
@@ -178,7 +178,7 @@ string CCmdLine::Next(char*& src)
|
||||
{
|
||||
;
|
||||
}
|
||||
return string(org, src - 1);
|
||||
return AZStd::string(org, src - 1);
|
||||
|
||||
case ' ':
|
||||
ch = *src++;
|
||||
@@ -190,12 +190,12 @@ string CCmdLine::Next(char*& src)
|
||||
;
|
||||
}
|
||||
|
||||
return string(org, src);
|
||||
return AZStd::string(org, src);
|
||||
}
|
||||
ch = *src++;
|
||||
}
|
||||
|
||||
return string();
|
||||
return AZStd::string();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user