From d7d19e4a7d1e7efd6001950769c3348df54908bd Mon Sep 17 00:00:00 2001 From: riccardom Date: Tue, 30 Dec 2008 16:16:31 +0000 Subject: [PATCH] Make a couple of functions static. --- desmume/src/utils/xstring.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/utils/xstring.cpp b/desmume/src/utils/xstring.cpp index 2ff07775f..32494a4a3 100644 --- a/desmume/src/utils/xstring.cpp +++ b/desmume/src/utils/xstring.cpp @@ -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();