mirror of
https://github.com/boostorg/detail.git
synced 2025-07-31 12:57:14 +02:00
corrected usage of visibility macro with inline function
This commit is contained in:
@ -113,9 +113,7 @@ struct BOOST_SYMBOL_VISIBLE utf8_codecvt_facet :
|
|||||||
public std::codecvt<wchar_t, char, std::mbstate_t>
|
public std::codecvt<wchar_t, char, std::mbstate_t>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
BOOST_UTF8_DECL explicit utf8_codecvt_facet(std::size_t no_locale_manage=0)
|
BOOST_UTF8_DECL explicit utf8_codecvt_facet(std::size_t no_locale_manage=0);
|
||||||
: std::codecvt<wchar_t, char, std::mbstate_t>(no_locale_manage)
|
|
||||||
{}
|
|
||||||
virtual ~utf8_codecvt_facet(){}
|
virtual ~utf8_codecvt_facet(){}
|
||||||
protected:
|
protected:
|
||||||
BOOST_UTF8_DECL virtual std::codecvt_base::result do_in(
|
BOOST_UTF8_DECL virtual std::codecvt_base::result do_in(
|
||||||
|
@ -30,6 +30,12 @@ BOOST_UTF8_BEGIN_NAMESPACE
|
|||||||
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
|
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
|
||||||
// implementation for wchar_t
|
// implementation for wchar_t
|
||||||
|
|
||||||
|
BOOST_UTF8_DECL utf8_codecvt_facet::utf8_codecvt_facet(
|
||||||
|
std::size_t no_locale_manage
|
||||||
|
) :
|
||||||
|
std::codecvt<wchar_t, char, std::mbstate_t>(no_locale_manage)
|
||||||
|
{}
|
||||||
|
|
||||||
// Translate incoming UTF-8 into UCS-4
|
// Translate incoming UTF-8 into UCS-4
|
||||||
BOOST_UTF8_DECL std::codecvt_base::result utf8_codecvt_facet::do_in(
|
BOOST_UTF8_DECL std::codecvt_base::result utf8_codecvt_facet::do_in(
|
||||||
std::mbstate_t& /*state*/,
|
std::mbstate_t& /*state*/,
|
||||||
|
Reference in New Issue
Block a user