Hide "static constexpr auto" from SWIG

SWIG can't parse "static constexpr auto" at present. As there's no need
to SWIG private class members simply hiding the expression is all that's
needed.
This commit is contained in:
Jim Easterbrook 2021-10-05 09:21:17 +01:00
parent 458a60bd76
commit a6480f972c

View File

@ -332,8 +332,9 @@ namespace Exiv2 {
IptcKey* clone_() const override;
// DATA
#ifndef SWIG
static constexpr auto familyName_ = "Iptc";
#endif
uint16_t tag_; //!< Tag value
uint16_t record_; //!< Record value
std::string key_; //!< Key