Remove duplication of the Hexify function.

Remove the useless extern keyword from function declarations in
ps/Util.h.

Patch by echotangoecho, refs #4095

This was SVN commit r18591.
This commit is contained in:
Itms
2016-08-08 12:50:39 +00:00
parent e3cdb2253d
commit bb1f86f515
5 changed files with 18 additions and 37 deletions
-11
View File
@@ -39,18 +39,7 @@
#include "simulation2/helpers/SimulationCommand.h"
#include <ctime>
#include <sstream>
#include <fstream>
#include <iomanip>
static std::string Hexify(const std::string& s)
{
std::stringstream str;
str << std::hex;
for (size_t i = 0; i < s.size(); ++i)
str << std::setfill('0') << std::setw(2) << (int)(unsigned char)s[i];
return str.str();
}
CReplayLogger::CReplayLogger(ScriptInterface& scriptInterface) :
m_ScriptInterface(scriptInterface), m_Stream(NULL)