struct->class

Authored by mreeves on Feb 3 2019, 2:07 PM.

Description

struct->class

use class keyword if you need a distructor.
Although C++ does not enforce this the struct keyword should not
be used for anything that needs member functions and/or a destuctor.
Make FileData a proper class with private members while were at it.

Details

Committed
mreevesFeb 3 2019, 10:19 PM
Parents
R983:6ed5d5cc3dc0: Format change, use default initalizers
Branches
Unknown
Tags
Unknown