Make program_options compile on IBM compiler.

Patch from Matthias Troyer.


[SVN r26096]
This commit is contained in:
Vladimir Prus
2004-11-03 07:11:45 +00:00
parent e7fd9b25ad
commit 9bd7193660
2 changed files with 9 additions and 1 deletions

View File

@@ -172,7 +172,11 @@ int utf8_codecvt_facet_wchar_t::do_length(
const char * from,
const char * from_end,
std::size_t max_limit
#if BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(600))
) const throw()
#else
) const
#endif
{
// RG - this code is confusing! I need a better way to express it.
// and test cases.