Task #3969 - Merge String.cpp and StringUtil.cpp

This commit is contained in:
Nick Bolton
2014-03-21 08:32:36 +00:00
parent a4416d4b16
commit 0745d5884b
26 changed files with 360 additions and 408 deletions

View File

@@ -17,7 +17,7 @@
*/
#include "net/XSocket.h"
#include "base/StringUtil.h"
#include "base/String.h"
//
// XSocketAddress
@@ -69,7 +69,7 @@ XSocketAddress::getWhat() const throw()
};
return format(s_errorID[m_error], s_errorMsg[m_error],
m_hostname.c_str(),
CStringUtil::print("%d", m_port).c_str());
synergy::string::sprintf("%d", m_port).c_str());
}