From 796e5a492475ef5c30f820d2dc0535e23bdd8f62 Mon Sep 17 00:00:00 2001 From: unitrunker Date: Mon, 22 Jan 2018 20:22:10 -0600 Subject: [PATCH] static for potentially easier use elsewhere. --- source/charset.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/charset.cpp b/source/charset.cpp index 1b258fc7..ffb82e72 100644 --- a/source/charset.cpp +++ b/source/charset.cpp @@ -234,7 +234,7 @@ namespace nana }; /// convert wchar C string from ? ANSI code page CP_ACP (windows) or LC_CTYPE c locale (-nix) into utf8 std::string - bool wc2mb(std::string& mbstr, const wchar_t * s) + static bool wc2mb(std::string& mbstr, const wchar_t * s) { if(nullptr == s || *s == 0) { @@ -268,7 +268,7 @@ namespace nana } /// convert a char C-string from The system default Windows ANSI code page CP_ACP or from LC_CTYPE c locale (-nix) into utf16 std::wstring - bool mb2wc(std::wstring& wcstr, const char* s) + static bool mb2wc(std::wstring& wcstr, const char* s) { if(nullptr == s || *s == 0) {