Make a couple of functions static.

This commit is contained in:
riccardom 2008-12-30 16:16:31 +00:00
parent 6a4b9900a5
commit d7d19e4a7d
1 changed files with 2 additions and 2 deletions

View File

@ -559,7 +559,7 @@ std::string mass_replace(const std::string &source, const std::string &victim, c
#include "ConvertUTF.h"
namespace UtfConverter
{
std::wstring FromUtf8(const std::string& utf8string)
static std::wstring FromUtf8(const std::string& utf8string)
{
size_t widesize = utf8string.length();
if (sizeof(wchar_t) == 2)
@ -605,7 +605,7 @@ namespace UtfConverter
return L"";
}
std::string ToUtf8(const std::wstring& widestring)
static std::string ToUtf8(const std::wstring& widestring)
{
size_t widesize = widestring.length();