|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84194 - trunk/boost/log/utility/manipulators
From: andrey.semashev_at_[hidden]
Date: 2013-05-08 15:43:29
Author: andysem
Date: 2013-05-08 15:43:27 EDT (Wed, 08 May 2013)
New Revision: 84194
URL: http://svn.boost.org/trac/boost/changeset/84194
Log:
Worked around MSVC 10 compilation error. The compiler fails to resolve overloaded add_value functions when the attribute value is a string literal.
Text files modified:
trunk/boost/log/utility/manipulators/add_value.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/log/utility/manipulators/add_value.hpp
==============================================================================
--- trunk/boost/log/utility/manipulators/add_value.hpp (original)
+++ trunk/boost/log/utility/manipulators/add_value.hpp 2013-05-08 15:43:27 EDT (Wed, 08 May 2013)
@@ -86,7 +86,7 @@
}
//! The function creates a manipulator that attaches an attribute value to a log record
-#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
+#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && !(defined(BOOST_MSVC) && BOOST_MSVC <= 1600)
template< typename T >
inline add_value_manip< T&& > add_value(attribute_name const& name, T&& value)
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