Replace single value enums with constexpr <type>
[geeqie.git] / src / histogram.cc
index e8aa293..6f8ad84 100644 (file)
  *----------------------------------------------------------------------------
  */
 
-enum {
-       HISTMAP_SIZE = 256
-};
+namespace
+{
+
+constexpr gint HISTMAP_SIZE = 256;
+
+} // namespace
 
 struct HistMap {
        gulong r[HISTMAP_SIZE];