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
/
image-load-psd.cc
diff --git
a/src/image-load-psd.cc
b/src/image-load-psd.cc
index
8b27383
..
b9dbf8f
100644
(file)
--- a/
src/image-load-psd.cc
+++ b/
src/image-load-psd.cc
@@
-92,9
+92,7
@@
struct PsdHeader
guint16 color_mode; /* color mode as defined below */
};
-enum {
- PSD_HEADER_SIZE = 26
-};
+constexpr guint PSD_HEADER_SIZE = 26;
enum PsdColorMode
{