Added fix for SGI64 (std::messages::open appears to require a non-const reference on that platform :-( )

[SVN r19305]
This commit is contained in:
John Maddock
2003-07-25 11:27:17 +00:00
parent bba214f904
commit 11f535596b

View File

@ -186,14 +186,14 @@ struct message_data<char>
std::istream is;
std::string error_strings[boost::REG_E_UNKNOWN+1];
message_data(const std::locale& l, const std::string& regex_message_catalogue);
message_data(const std::locale& l, std::string regex_message_catalogue);
private:
message_data(const message_data&);
message_data& operator=(const message_data&);
};
message_data<char>::message_data(const std::locale& l, const std::string& regex_message_catalogue)
message_data<char>::message_data(const std::locale& l, std::string regex_message_catalogue)
: is(&sbuf)
{
is.imbue(l);