Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49140 - trunk/boost/spirit/home/support/detail
From: hartmut.kaiser_at_[hidden]
Date: 2008-10-06 07:26:33


Author: hkaiser
Date: 2008-10-06 07:26:32 EDT (Mon, 06 Oct 2008)
New Revision: 49140
URL: http://svn.boost.org/trac/boost/changeset/49140

Log:
Spirit: Fixed initialization sequence in what_function avoiding some warnings...
Text files modified:
   trunk/boost/spirit/home/support/detail/what_function.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/support/detail/what_function.hpp
==============================================================================
--- trunk/boost/spirit/home/support/detail/what_function.hpp (original)
+++ trunk/boost/spirit/home/support/detail/what_function.hpp 2008-10-06 07:26:32 EDT (Mon, 06 Oct 2008)
@@ -15,7 +15,7 @@
     struct what_function
     {
         what_function(std::string& str, Context const& ctx)
- : str(str), first(true), ctx(ctx)
+ : str(str), ctx(ctx), first(true)
         {
         }
 


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