Opened 9 years ago
Closed 9 years ago
#8744 closed Bugs (duplicate)
Unused Str alias in xml_parser_write.hpp
| Reported by: | Mateusz Loskot | Owned by: | Sebastian Redl |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | property_tree |
| Version: | Boost Development Trunk | Severity: | Problem |
| Keywords: | Cc: |
Description
There are number of places in boost/property_tree/detail/xml_parser_write.hpp with
typedef typename std::basic_string<Ch> Str;
but without use of Str in following code. This leads to annoying compilation warnings.
Is it possible to remove those lines?
Attachments (1)
Change History (3)
comment:1 by , 9 years ago
by , 9 years ago
| Attachment: | property_tree.patch added |
|---|
comment:2 by , 9 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Reported again as 8879, I'm marking this the dupe.
Note:
See TracTickets
for help on using tickets.

GCC 4.8+ warns unused local typedef...
Proposed fix attached.