Opened 15 years ago

Closed 14 years ago

#7176 closed defect (fixed)

incrementing of bool is deprecated in C++

Reported by: Erik Hovland <erik@…> 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)

programs_mythfilldatabase-incrementing-bool-deprecated (641 bytes) - added by Erik Hovland <erik@…> 15 years ago.
Switch bool to unsigned int so it can be incremented w/out complaint

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by Erik Hovland <erik@…>

Switch bool to unsigned int so it can be incremented w/out complaint

comment:1 Changed 14 years ago by paulh

Milestone: unknown0.23
Owner: changed from stuartm to paulh
Status: newassigned

comment:2 Changed 14 years ago by paulh

Resolution: fixed
Status: assignedclosed

(In [23199]) Switch count from bool to unsigned int so it can be incremented without complaint. Fixes #7176.

Note: See TracTickets for help on using tickets.