clang-tidy: modernize-macro-to-enum
[geeqie.git] / src / histogram.cc
index 3f858e8..019de2d 100644 (file)
@@ -32,7 +32,9 @@
  *----------------------------------------------------------------------------
  */
 
-#define HISTMAP_SIZE 256
+enum {
+       HISTMAP_SIZE = 256
+};
 
 struct HistMap {
        gulong r[HISTMAP_SIZE];