Boost logo

Boost-Commit :

From: eric_at_[hidden]
Date: 2007-10-08 19:48:26


Author: eric_niebler
Date: 2007-10-08 19:48:25 EDT (Mon, 08 Oct 2007)
New Revision: 39826
URL: http://svn.boost.org/trac/boost/changeset/39826

Log:
fix warning
Text files modified:
   trunk/libs/xpressive/test/test_actions.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/xpressive/test/test_actions.cpp
==============================================================================
--- trunk/libs/xpressive/test/test_actions.cpp (original)
+++ trunk/libs/xpressive/test/test_actions.cpp 2007-10-08 19:48:25 EDT (Mon, 08 Oct 2007)
@@ -122,7 +122,7 @@
 void test4_aux()
 {
     using namespace boost::xpressive;
- placeholder< std::map<std::string, int> > const _map = {};
+ placeholder< std::map<std::string, int> > const _map = {{}};
 
     sregex pair = ( (s1= +_w) >> "=>" >> (s2= +_d) )[ _map[s1] = as<int>(s2) ];
     sregex rx = pair >> *(+_s >> pair);


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