diff options
Diffstat (limited to 'boost/property_tree/detail/ptree_utils.hpp')
-rw-r--r-- | boost/property_tree/detail/ptree_utils.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/property_tree/detail/ptree_utils.hpp b/boost/property_tree/detail/ptree_utils.hpp index 72aed4614c..c353e08ba8 100644 --- a/boost/property_tree/detail/ptree_utils.hpp +++ b/boost/property_tree/detail/ptree_utils.hpp @@ -57,7 +57,7 @@ namespace boost { namespace property_tree { namespace detail template<typename Str> Str widen(const char *text) { - Str result; + Str result; while (*text) { result += typename Str::value_type(*text); @@ -70,7 +70,7 @@ namespace boost { namespace property_tree { namespace detail template<typename Str, typename char_type> Str narrow(const char_type *text) { - Str result; + Str result; while (*text) { if (*text < 0 || *text > (std::numeric_limits<char>::max)()) |