Add a trailing comma to enum

Should help produce better diffs and clang-format won't squash the enum
on one line.

GIT_SILENT
This commit is contained in:
Ahmad Samir
2021-03-08 20:14:42 +02:00
parent 503b3eee2b
commit e3ab850712
10 changed files with 20 additions and 20 deletions

View File

@ -40,7 +40,7 @@ enum TGAType {
TGA_TYPE_GREY = 3,
TGA_TYPE_RLE_INDEXED = 9,
TGA_TYPE_RLE_RGB = 10,
TGA_TYPE_RLE_GREY = 11
TGA_TYPE_RLE_GREY = 11,
};
#define TGA_INTERLEAVE_MASK 0xc0
@ -69,7 +69,7 @@ struct TgaHeader {
uchar pixel_size;
uchar flags;
enum { SIZE = 18 }; // const static int SIZE = 18;
enum { SIZE = 18, }; // const static int SIZE = 18;
};
static QDataStream &operator>> (QDataStream &s, TgaHeader &head)