Let Mac OS X have goodies.

This commit is contained in:
Jason Felds
2013-04-29 23:37:10 -04:00
parent 71d993ee39
commit c07d4cf78f
11 changed files with 4 additions and 117 deletions
-7
View File
@@ -81,14 +81,7 @@ static void SplitWithQuotes( const RString sSource, const char Delimitor, vector
RString Commands::GetOriginalCommandString() const
{
#ifdef MACOSX
RString s;
for (Command const &c : v)
s += c.GetOriginalCommandString();
return s;
#else
return std::accumulate(v.begin(), v.end(), RString(), [](RString &res, Command const &c) { return res += c.GetOriginalCommandString(); });
#endif
}
void ParseCommands( const RString &sCommands, Commands &vCommandsOut )