diff --git a/rtexif/rtexif.cc b/rtexif/rtexif.cc index 707e83d99..10373fd35 100644 --- a/rtexif/rtexif.cc +++ b/rtexif/rtexif.cc @@ -2272,10 +2272,6 @@ short int int2_to_signed (short unsigned int i) { return u.s; } -int getTypeSize( TagType type ){ - return ("11124811248484"[type<14?type:0]-'0'); -} - /* Function to parse and extract focal length and aperture information from description * @fullname must conform to the following formats * mm f/ diff --git a/rtexif/rtexif.h b/rtexif/rtexif.h index eb48acdb8..7604e7d79 100644 --- a/rtexif/rtexif.h +++ b/rtexif/rtexif.h @@ -431,7 +431,9 @@ protected: } }; -inline static int getTypeSize( TagType type ); +inline static int getTypeSize( TagType type ) { + return ("11124811248484"[type<14?type:0]-'0'); +} extern const TagAttrib exifAttribs[]; extern const TagAttrib gpsAttribs[];