diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2009-11-20 19:55:30 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2009-11-20 19:55:30 +0100 |
commit | 1bcfb83db7bd8b985b3172ad80b0cb155de7146c (patch) | |
tree | 2826f3c322d790e3ec1ed788d46d942b16aa5aa3 /src/exiv2wrapper.cpp | |
parent | c10fad447126e5ca3537f0c1ff0c6c9f4b87b903 (diff) | |
download | pyexiv2-1bcfb83db7bd8b985b3172ad80b0cb155de7146c.tar.gz |
Do not store the XMP info for a given tag statically.
Diffstat (limited to 'src/exiv2wrapper.cpp')
-rw-r--r-- | src/exiv2wrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exiv2wrapper.cpp b/src/exiv2wrapper.cpp index be12731..d7e989c 100644 --- a/src/exiv2wrapper.cpp +++ b/src/exiv2wrapper.cpp @@ -636,7 +636,7 @@ XmpTag::XmpTag(const std::string& key, Exiv2::Xmpdatum* datum): _key(key) _title = Exiv2::XmpProperties::propertyTitle(_key); _description = Exiv2::XmpProperties::propertyDesc(_key); - static const Exiv2::XmpPropertyInfo* info = Exiv2::XmpProperties::propertyInfo(_key); + const Exiv2::XmpPropertyInfo* info = Exiv2::XmpProperties::propertyInfo(_key); _name = info->name_; _type = info->xmpValueType_; } |