Ticket #4946: lexical_cast.hpp.diff

File lexical_cast.hpp.diff, 721 bytes (added by Rich McKeever <richmckeever@…>, 12 years ago)
  • boost/boost/lexical_cast.hpp

  • /

    old new  
    11471147              , detail::lexical_stream_limited_src<CharT,base,traits>
    11481148              >::type interpreter(buf, buf + src_len);
    11491149
    1150             Target result;
     1150            Target result = result;
    11511151            if(!(interpreter << arg && interpreter >> result))
    11521152                BOOST_LCAST_THROW_BAD_CAST(Source, Target);
    11531153            return result;