File tree 1 file changed +3
-2
lines changed
include/boost/property_tree/detail
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 15
15
#include < boost/iterator/reverse_iterator.hpp>
16
16
#include < boost/assert.hpp>
17
17
#include < boost/core/invoke_swap.hpp>
18
+ #include < boost/core/type_name.hpp>
18
19
#include < memory>
19
20
20
21
#if (defined(BOOST_MSVC) && \
@@ -669,7 +670,7 @@ namespace boost { namespace property_tree
669
670
}
670
671
BOOST_PROPERTY_TREE_THROW (ptree_bad_data (
671
672
std::string (" conversion of data to type \" " ) +
672
- typeid ( Type). name () + " \" failed" , data ()));
673
+ boost::core::type_name< Type> () + " \" failed" , data ()));
673
674
}
674
675
675
676
template <class K , class D , class C >
@@ -824,7 +825,7 @@ namespace boost { namespace property_tree
824
825
data () = *o;
825
826
} else {
826
827
BOOST_PROPERTY_TREE_THROW (ptree_bad_data (
827
- std::string (" conversion of type \" " ) + typeid ( Type). name () +
828
+ std::string (" conversion of type \" " ) + boost::core::type_name< Type> () +
828
829
" \" to data failed" , boost::any ()));
829
830
}
830
831
}
You can’t perform that action at this time.
0 commit comments