forked from boostorg/regex
Allow std::locale's to not have a messages facet installed (fixes some STLPort issues).
Allow match_results to handle singular iterators. Update docs to match. [SVN r57860]
This commit is contained in:
1 parent
1f38675c1c
commit
a83329dd28
36 files changed
+324
-212
No files matched your search
@@ -42,7 +42,7 @@ void cpp_regex_traits_char_layer<char>::init()
|
||||
std::messages<char>::catalog cat = reinterpret_cast<std::messages<char>::catalog>(-1);
|
||||
#endif
|
||||
std::string cat_name(cpp_regex_traits<char>::get_catalog_name());
|
||||
if(cat_name.size())
|
||||
if(cat_name.size() && (m_pmessages != 0))
|
||||
{
|
||||
cat = this->m_pmessages->open(
|
||||
cat_name,
|
||||
|
||||
Reference in new issue
Block a user