mirror of
https://github.com/boostorg/regex.git
synced 2025-07-17 06:12:10 +02:00
VACPP fix
[SVN r15373]
This commit is contained in:
@ -200,7 +200,11 @@ message_data<char>::message_data(const std::locale& l, const std::string& regex_
|
||||
#ifndef BOOST_NO_STD_MESSAGES
|
||||
|
||||
const std::messages<char>* pm = 0;
|
||||
#ifndef __IBMCPP__
|
||||
std::messages<char>::catalog cat = static_cast<std::messages<wchar_t>::catalog>(-1);
|
||||
#else
|
||||
std::messages<char>::catalog cat = reinterpret_cast<std::messages<wchar_t>::catalog>(-1);
|
||||
#endif
|
||||
if(regex_message_catalogue.size())
|
||||
{
|
||||
pm = &BOOST_USE_FACET(std::messages<char>, l);
|
||||
@ -592,7 +596,11 @@ message_data<wchar_t>::message_data(const std::locale& l, const std::string& reg
|
||||
const cvt_type& cvt = BOOST_USE_FACET(cvt_type, l);
|
||||
#ifndef BOOST_NO_STD_MESSAGES
|
||||
const std::messages<wchar_t>& msgs = BOOST_USE_FACET(std::messages<wchar_t>, l);
|
||||
#ifndef __IBMCPP__
|
||||
std::messages<wchar_t>::catalog cat = static_cast<std::messages<wchar_t>::catalog>(-1);
|
||||
#else
|
||||
std::messages<wchar_t>::catalog cat = reinterpret_cast<std::messages<wchar_t>::catalog>(-1);
|
||||
#endif
|
||||
if(regex_message_catalogue.size())
|
||||
{
|
||||
cat = msgs.open(regex_message_catalogue, l);
|
||||
|
Reference in New Issue
Block a user