Opened 8 years ago

Closed 8 years ago

#10408 closed Bugs (fixed)

Unused typedef warning in ini_parser::write_ini()

Reported by: jaak+boost@… Owned by: Sebastian Redl
Milestone: To Be Determined Component: property_tree
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

Also present in 1.56.0.

/myprefix/include/boost/property_tree/ini_parser.hpp: In function 'void boost::property_tree::ini_parser::write_ini(std::basic_ostream<typename Ptree::key_type::value_type>&, const Ptree&, int)':
/myprefix/include/boost/property_tree/ini_parser.hpp:222:39: warning: typedef 'Str' locally defined but not used [-Wunused-local-typedefs]
         typedef std::basic_string<Ch> Str;
                                       ^

Change History (1)

comment:1 by Sebastian Redl, 8 years ago

Resolution: fixed
Status: newclosed

Fixed as a side-effect of the refactoring in commit 2463e8732ef031b66629a8d0f0e90be24d0e3e3c.

Note: See TracTickets for help on using tickets.