Added missing BOOST_RE_CALL declarators to c_regex_traits

tweeked BOOST_RE_CALL definition


[SVN r10100]
This commit is contained in:
John Maddock
2001-05-12 10:41:19 +00:00
parent f6fd177e2a
commit a58bf0705d
2 changed files with 20 additions and 12 deletions

View File

@ -403,7 +403,7 @@ namespace re_detail{
char c_traits_base::regex_message_catalogue[200] = {0};
std::string c_traits_base::error_string(unsigned id)
std::string BOOST_RE_CALL c_traits_base::error_string(unsigned id)
{
return re_get_error_str(id);
}
@ -527,7 +527,7 @@ bool BOOST_RE_CALL c_traits_base::do_lookup_collate(std::string& buf, const char
return result;
}
std::string c_traits_base::set_message_catalogue(const std::string& l)
std::string BOOST_RE_CALL c_traits_base::set_message_catalogue(const std::string& l)
{
if(sizeof(regex_message_catalogue) <= l.size())
return l;
@ -571,7 +571,7 @@ bool BOOST_RE_CALL c_regex_traits<wchar_t>::lookup_collatename(std::basic_string
c_regex_traits<char> c_regex_traits<char>::i;
void c_regex_traits<char>::init()
void BOOST_RE_CALL c_regex_traits<char>::init()
{
BOOST_RE_GUARD_STACK
#ifdef BOOST_RE_THREADS