Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66848 - trunk/boost/spirit/home/support/detail
From: hartmut.kaiser_at_[hidden]
Date: 2010-11-29 13:49:09


Author: hkaiser
Date: 2010-11-29 13:49:07 EST (Mon, 29 Nov 2010)
New Revision: 66848
URL: http://svn.boost.org/trac/boost/changeset/66848

Log:
Spirit: making hold_any constructor explicit
Text files modified:
   trunk/boost/spirit/home/support/detail/hold_any.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/support/detail/hold_any.hpp
==============================================================================
--- trunk/boost/spirit/home/support/detail/hold_any.hpp (original)
+++ trunk/boost/spirit/home/support/detail/hold_any.hpp 2010-11-29 13:49:07 EST (Mon, 29 Nov 2010)
@@ -212,7 +212,7 @@
     public:
         // constructors
         template <typename T>
- hold_any(T const& x)
+ explicit hold_any(T const& x)
           : table(spirit::detail::get_table<T>::get()), object(0)
         {
             if (spirit::detail::get_table<T>::is_small::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