aboutsummaryrefslogtreecommitdiffstats
path: root/src/exiv2wrapper.cpp
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2009-11-20 19:55:30 +0100
committerOlivier Tilloy <olivier@tilloy.net>2009-11-20 19:55:30 +0100
commit1bcfb83db7bd8b985b3172ad80b0cb155de7146c (patch)
tree2826f3c322d790e3ec1ed788d46d942b16aa5aa3 /src/exiv2wrapper.cpp
parentc10fad447126e5ca3537f0c1ff0c6c9f4b87b903 (diff)
downloadpyexiv2-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.cpp2
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_;
}