projects
/
geeqie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace single value enums with constexpr <type>
[geeqie.git]
/
src
/
histogram.cc
diff --git
a/src/histogram.cc
b/src/histogram.cc
index
e8aa293
..
6f8ad84
100644
(file)
--- a/
src/histogram.cc
+++ b/
src/histogram.cc
@@
-35,9
+35,12
@@
*----------------------------------------------------------------------------
*/
-enum {
- HISTMAP_SIZE = 256
-};
+namespace
+{
+
+constexpr gint HISTMAP_SIZE = 256;
+
+} // namespace
struct HistMap {
gulong r[HISTMAP_SIZE];