Opened 15 years ago
Closed 14 years ago
#7176 closed defect (fixed)
incrementing of bool is deprecated in C++
Reported by: | Owned by: | paulh | |
---|---|---|---|
Priority: | trivial | Milestone: | 0.23 |
Component: | MythTV - Mythfilldatabase | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
bool usage as anything other then a bool is discouraged in C++. But the incrementing and decrementing have been marked deprecated. This happens in one place in mythfilldatabase.
Attachments (1)
Change History (3)
Changed 15 years ago by
Attachment: | programs_mythfilldatabase-incrementing-bool-deprecated added |
---|
comment:1 Changed 14 years ago by
Milestone: | unknown → 0.23 |
---|---|
Owner: | changed from stuartm to paulh |
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.
Switch bool to unsigned int so it can be incremented w/out complaint