|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r83754 - trunk/boost/spirit/home/support
From: andrey.semashev_at_[hidden]
Date: 2013-04-03 15:17:00
Author: andysem
Date: 2013-04-03 15:16:59 EDT (Wed, 03 Apr 2013)
New Revision: 83754
URL: http://svn.boost.org/trac/boost/changeset/83754
Log:
Fixed compilation on compilers with support for static_assert.
Text files modified:
trunk/boost/spirit/home/support/assert_msg.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/spirit/home/support/assert_msg.hpp
==============================================================================
--- trunk/boost/spirit/home/support/assert_msg.hpp (original)
+++ trunk/boost/spirit/home/support/assert_msg.hpp 2013-04-03 15:16:59 EDT (Wed, 03 Apr 2013)
@@ -24,7 +24,7 @@
#if !defined(BOOST_NO_CXX11_STATIC_ASSERT) || BOOST_SPIRIT_DONT_USE_MPL_ASSERT_MSG != 0
#include <boost/static_assert.hpp>
#define BOOST_SPIRIT_ASSERT_MSG(Cond, Msg, Types) \
- BOOST_STATIC_ASSERT_MSG(Cond, Msg)
+ BOOST_STATIC_ASSERT_MSG(Cond, # Msg)
#else
#include <boost/mpl/assert.hpp>
#define BOOST_SPIRIT_ASSERT_MSG(Cond, Msg, Types) \
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