]> git.lyx.org Git - lyx.git/blobdiff - 3rdparty/boost/boost/lexical_cast.hpp
Update boost to version 1.62.
[lyx.git] / 3rdparty / boost / boost / lexical_cast.hpp
index dc3d7e3fb7d917ac223e582ba2077f6bfb67af74..3dc21f88a4373d1ba0465ab4b27ed7d8f15b4477 100644 (file)
@@ -36,7 +36,7 @@ namespace boost
     template <typename Target, typename Source>
     inline Target lexical_cast(const Source &arg)
     {
-        Target result;
+        Target result = Target();
 
         if (!boost::conversion::detail::try_lexical_convert(arg, result)) {
             boost::conversion::detail::throw_bad_cast<Source, Target>();