Use more consistent naming for enum.

This commit is contained in:
Daniel Patterson 2015-05-20 16:38:33 -07:00
parent c1bb96d07e
commit e685099a1b

View file

@ -48,7 +48,7 @@ namespace mapnik {
struct png_options {
enum quantization_type { HEXTREE = 0, OCTTREE = 1, IMGQUANT = 2 };
enum quantization_enum { HEXTREE, OCTTREE, IMGQUANT };
int colors;
int compression;
@ -58,7 +58,7 @@ struct png_options {
double iq_dither;
double gamma;
bool paletted;
quantization_type quantization;
quantization_enum quantization;
bool use_miniz;
png_options() :
colors(256),