|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r81156 - trunk/boost/spirit/home/karma/numeric/detail
From: hartmut.kaiser_at_[hidden]
Date: 2012-11-03 10:19:55
Author: hkaiser
Date: 2012-11-03 10:19:54 EDT (Sat, 03 Nov 2012)
New Revision: 81156
URL: http://svn.boost.org/trac/boost/changeset/81156
Log:
Spirit: Applied patch provided by AgustÃn K-ballo Bergé - thanks!
Text files modified:
trunk/boost/spirit/home/karma/numeric/detail/real_utils.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/spirit/home/karma/numeric/detail/real_utils.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/numeric/detail/real_utils.hpp (original)
+++ trunk/boost/spirit/home/karma/numeric/detail/real_utils.hpp 2012-11-03 10:19:54 EDT (Sat, 03 Nov 2012)
@@ -46,11 +46,11 @@
call (OutputIterator& sink, U n, Policies const& p = Policies())
{
if (traits::test_nan(n)) {
- return Policies::template nan<CharEncoding, Tag>(
+ return p.template nan<CharEncoding, Tag>(
sink, n, p.force_sign(n));
}
else if (traits::test_infinite(n)) {
- return Policies::template inf<CharEncoding, Tag>(
+ return p.template inf<CharEncoding, Tag>(
sink, n, p.force_sign(n));
}
return p.template call<real_inserter>(sink, n, p);
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk