summaryrefslogtreecommitdiff
path: root/XMPCore/source/XMPMeta-GetSet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'XMPCore/source/XMPMeta-GetSet.cpp')
-rw-r--r--XMPCore/source/XMPMeta-GetSet.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/XMPCore/source/XMPMeta-GetSet.cpp b/XMPCore/source/XMPMeta-GetSet.cpp
index c67965f..eaf0ef5 100644
--- a/XMPCore/source/XMPMeta-GetSet.cpp
+++ b/XMPCore/source/XMPMeta-GetSet.cpp
@@ -119,16 +119,16 @@ static inline void
node->SetValue( value );
} //SetNodeValue
-void XMP_Node::SetValue( XMP_StringPtr value )
+void XMP_Node::SetValue( XMP_StringPtr value_ )
{
#if XMP_DebugBuild // ! Hack to force an assert.
- if ( (this->name == "xmp:TestAssertNotify") && XMP_LitMatch ( value, "DoIt!" ) ) {
+ if ( (this->name == "xmp:TestAssertNotify") && XMP_LitMatch ( value_, "DoIt!" ) ) {
XMP_Assert ( this->name != "xmp:TestAssertNotify" );
}
#endif
- std::string newValue = value; // Need a local copy to tweak and not change node.value for errors.
+ std::string newValue = value_; // Need a local copy to tweak and not change node.value for errors.
XMP_Uns8* chPtr = (XMP_Uns8*) newValue.c_str(); // Check for valid UTF-8, replace ASCII controls with a space.
while ( *chPtr != 0 ) {