Ticket #2551: 50-date_time-constrained_value-uninitialized.diff
File 50-date_time-constrained_value-uninitialized.diff, 476 bytes (added by , 14 years ago) |
---|
-
boost/date_time/constrained_value.hpp
https://svn.boost.org/trac/boost/ticket/2551
old new 39 39 typedef typename value_policies::value_type value_type; 40 40 // typedef except_type exception_type; 41 41 constrained_value(value_type value) 42 : value_(value) // avoid uninitialized use of value_ on error 42 43 { 43 44 assign(value); 44 45 };