diff --git a/mapper.cpp b/mapper.cpp index 384962f..f468569 100644 --- a/mapper.cpp +++ b/mapper.cpp @@ -23,9 +23,11 @@ struct Color { uint8_t b; }; -map parse_colors() +typedef map ColorMap; + +ColorMap parse_colors() { - map parsed; + ColorMap parsed; ifstream in; in.open("colors.txt", ifstream::in); @@ -155,5 +157,5 @@ int main(int argc, char *argv[]) } } - map colors = parse_colors(); + ColorMap colors = parse_colors(); }